Свойство | Тип | Описание | |
---|---|---|---|
$filesystem | Bolt\Filesystem\FilesystemInterface | ||
$filesystemsToCheck | string[] |
Метод | Описание | |
---|---|---|
__construct ( Bolt\Filesystem\FilesystemInterface $filesystem, array $filesystemsToCheck ) | Constructor. | |
getFile ( Bolt\Filesystem\Handler\FileInterface | string $path ) : Bolt\Filesystem\Handler\FileInterface | Gets the file object for the path given. Paths with the mount point included are preferred, but are not required for BC. If the mount point is not included a list of filesystems are checked and chosen if the file exists in that filesystem. | |
getImage ( Bolt\Filesystem\Handler\ImageInterface | string $path ) : Bolt\Filesystem\Handler\ImageInterface | Same as {@see getFile} for images. |
Метод | Описание | |
---|---|---|
containsMountPoint ( string $path ) : boolean | Change if a path contains a mount point. |
public __construct ( Bolt\Filesystem\FilesystemInterface $filesystem, array $filesystemsToCheck ) | ||
$filesystem | Bolt\Filesystem\FilesystemInterface | |
$filesystemsToCheck | array |
protected FilesystemInterface,Bolt\Filesystem $filesystem | ||
Результат | Bolt\Filesystem\FilesystemInterface |