PHP 인터페이스 Neos\Flow\Package\PackageInterface

파일 보기 프로젝트 열기: neos/flow-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
boot ( Bootstrap $bootstrap ) : void Invokes custom PHP code directly after the package manager has been initialized.
getClassFiles ( ) : array Returns the array of filenames of the class files
getComposerManifest ( string $key = null ) : mixed Returns the composer manifest of this package or just contents of a specific key of the full configuration.
getComposerName ( ) : string Returns the composer name of this package.
getConfigurationPath ( ) : string Returns the full path to this package's Configuration directory
getInstalledVersion ( ) : string Returns the currently installed version of this package.
getNamespaces ( ) : array Returns an array of all namespaces declared for this package.
getPackageKey ( ) : string Returns the package key of this package.
getPackagePath ( ) : string Returns the full path to this package's main directory
getResourcesPath ( ) : string Returns the full path to this package's Resources directory
isObjectManagementEnabled ( ) : boolean Tells if files in the Classes directory should be registered and object management enabled for this package.
isProtected ( ) : boolean Tells if this package is protected and therefore cannot be deactivated or deleted
setProtected ( boolean $protected ) : void Sets the protection flag of the package

메소드 상세

boot() 공개 메소드

Invokes custom PHP code directly after the package manager has been initialized.
public boot ( Bootstrap $bootstrap ) : void
$bootstrap Neos\Flow\Core\Bootstrap The current bootstrap
리턴 void

getClassFiles() 공개 메소드

Returns the array of filenames of the class files
public getClassFiles ( ) : array
리턴 array An array of class names (key) and their filename, including the relative path to the package's directory

getComposerManifest() 공개 메소드

Returns the composer manifest of this package or just contents of a specific key of the full configuration.
public getComposerManifest ( string $key = null ) : mixed
$key string
리턴 mixed

getComposerName() 공개 메소드

Returns the composer name of this package.
public getComposerName ( ) : string
리턴 string

getConfigurationPath() 공개 메소드

Returns the full path to this package's Configuration directory
public getConfigurationPath ( ) : string
리턴 string Path to this package's Configuration directory

getInstalledVersion() 공개 메소드

Returns the currently installed version of this package.
public getInstalledVersion ( ) : string
리턴 string

getNamespaces() 공개 메소드

Returns an array of all namespaces declared for this package.
public getNamespaces ( ) : array
리턴 array

getPackageKey() 공개 메소드

Returns the package key of this package.
public getPackageKey ( ) : string
리턴 string

getPackagePath() 공개 메소드

Returns the full path to this package's main directory
public getPackagePath ( ) : string
리턴 string Path to this package's main directory

getResourcesPath() 공개 메소드

Returns the full path to this package's Resources directory
public getResourcesPath ( ) : string
리턴 string Path to this package's Resources directory

isObjectManagementEnabled() 공개 메소드

Tells if files in the Classes directory should be registered and object management enabled for this package.

isProtected() 공개 메소드

Tells if this package is protected and therefore cannot be deactivated or deleted
public isProtected ( ) : boolean
리턴 boolean

setProtected() 공개 메소드

Sets the protection flag of the package
public setProtected ( boolean $protected ) : void
$protected boolean TRUE if the package should be protected, otherwise FALSE
리턴 void