PHP 클래스 Neos\Flow\Package\PackageFactory

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

공개 메소드들

메소드 설명
create ( string $packagesBasePath, string $packagePath, string $packageKey, string $composerName, array $autoloadConfiguration = [], array $packageClassInformation = null ) : Neos\Flow\Package\PackageInterface Returns a package instance.
detectFlowPackageFilePath ( string $packageKey, string $absolutePackagePath ) : array Detects if the package contains a package file and returns the path and classname.

메소드 상세

create() 공개 메소드

Returns a package instance.
public create ( string $packagesBasePath, string $packagePath, string $packageKey, string $composerName, array $autoloadConfiguration = [], array $packageClassInformation = null ) : Neos\Flow\Package\PackageInterface
$packagesBasePath string the base install path of packages,
$packagePath string path to package, relative to base path
$packageKey string key / name of the package
$composerName string
$autoloadConfiguration array Autoload configuration as defined in composer.json
$packageClassInformation array
리턴 Neos\Flow\Package\PackageInterface

detectFlowPackageFilePath() 공개 메소드

Detects if the package contains a package file and returns the path and classname.
public detectFlowPackageFilePath ( string $packageKey, string $absolutePackagePath ) : array
$packageKey string The package key
$absolutePackagePath string Absolute path to the package
리턴 array The path to the package file and classname for this package or an empty array if none was found.