PHP Класс Neos\Flow\ResourceManagement\Storage\PackageStorage

Наследование: extends FileSystemStorage
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$packageManager Neos\Flow\Package\PackageManagerInterface

Открытые методы

Метод Описание
getObjects ( callable $callback = null ) : Generator Retrieve all Objects stored in this storage.
getObjectsByPathPattern ( string $pattern, callable $callback = null ) : Generator Return all Objects stored in this storage filtered by the given directory / filename pattern
getPublicResourcePaths ( ) : array Returns the absolute paths of public resources directories of all active packages.
getStreamByResource ( PersistentResource $resource ) : resource | boolean Because we cannot store persistent resources in a PackageStorage, this method always returns FALSE.
initializeObject ( ) : void Initializes this resource storage

Описание методов

getObjects() публичный Метод

Retrieve all Objects stored in this storage.
public getObjects ( callable $callback = null ) : Generator
$callback callable Function called after each iteration
Результат Generator

getObjectsByPathPattern() публичный Метод

Return all Objects stored in this storage filtered by the given directory / filename pattern
public getObjectsByPathPattern ( string $pattern, callable $callback = null ) : Generator
$pattern string A glob compatible directory / filename pattern
$callback callable Function called after each object
Результат Generator

getPublicResourcePaths() публичный Метод

This method is used directly by the FileSystemSymlinkTarget.
public getPublicResourcePaths ( ) : array
Результат array

getStreamByResource() публичный Метод

Because we cannot store persistent resources in a PackageStorage, this method always returns FALSE.
public getStreamByResource ( PersistentResource $resource ) : resource | boolean
$resource Neos\Flow\ResourceManagement\PersistentResource The resource stored in this storage
Результат resource | boolean | boolean The resource stream or FALSE if the stream could not be obtained

initializeObject() публичный Метод

Initializes this resource storage
public initializeObject ( ) : void
Результат void

Описание свойств

$packageManager защищенное свойство

protected PackageManagerInterface,Neos\Flow\Package $packageManager
Результат Neos\Flow\Package\PackageManagerInterface