PHP 클래스 Neos\Flow\ResourceManagement\Storage\PackageStorage

상속: extends FileSystemStorage
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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