<?php is_file(string $filename): bool
<?php { $location = $this->prefixer->prefixPath($location); return is_file($location); } public function createDirectory(string $path, Config $config): void
<?php $location = $this->prefixer->prefixPath($path); error_clear_last(); if (is_file($location) && ($fileSize = @filesize($location)) !== false) { return new FileAttributes($path, $fileSize); }
<?php private function loadPrivateKey(): RSA { if ("---" !== substr($this->privateKey, 0, 3) && is_file($this->privateKey)) { $this->privateKey = file_get_contents($this->privateKey); }
<?php private function loadPrivateKey(): AsymmetricKey { if ("---" !== substr($this->privateKey, 0, 3) && is_file($this->privateKey)) { $this->privateKey = file_get_contents($this->privateKey); }