PHP 클래스 AppserverIo\Appserver\Core\Api\Node\ClassLoaderNode

상속: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\ClassLoaderNodeInterface, use trait ParamsNodeTrait, use trait AppserverIo\Appserver\Core\Api\Node\DirectoriesNodeTrait, use trait AppserverIo\Appserver\Core\Api\Node\NamespacesNodeTrait
파일 보기 프로젝트 열기: appserver-io/appserver

보호된 프로퍼티들

프로퍼티 타입 설명
$factory string The class loaders factory class name.
$interface string The interface name the class loader has.
$name string The unique class loader name.
$type string The class loaders class name.

공개 메소드들

메소드 설명
__construct ( string $name = '', string $interface = '', string $type = '', string $factory = '', array $params = [], array $directories = [], array $namespaces = [] ) Initializes the class loader configuration with the passed values.
getEnforcementLevel ( ) : integer The Doppelgaenger enforcement level to use.
getEnvironment ( ) : string The environment to use, can be one of 'development' or 'production'.
getFactory ( ) : string Returns the factory class name.
getInterface ( ) : string Returns interface name the class loader has.
getName ( ) : string Returns the class loader name.
getPrimaryKey ( ) : string Returns the nodes primary key, the name by default.
getProcessing ( ) : string The processing level to use, can be one of 'exception' or 'logging'.
getType ( ) : string Returns the class loader type.
getTypeSafety ( ) : boolean Flag that shows Doppelgaenger type safety is activated.

메소드 상세

__construct() 공개 메소드

Initializes the class loader configuration with the passed values.
public __construct ( string $name = '', string $interface = '', string $type = '', string $factory = '', array $params = [], array $directories = [], array $namespaces = [] )
$name string The unique class loader name
$interface string The interface name the class loader has
$type string The class loaders class name
$factory string The class loaders factory class name
$params array The class loaders params
$directories array The class loaders directory to load classes from
$namespaces array The class loaders namespaces for classes to be handled

getEnforcementLevel() 공개 메소드

The Doppelgaenger enforcement level to use.
public getEnforcementLevel ( ) : integer
리턴 integer The enforcement level

getEnvironment() 공개 메소드

The environment to use, can be one of 'development' or 'production'.
public getEnvironment ( ) : string
리턴 string The configured environment

getFactory() 공개 메소드

Returns the factory class name.
public getFactory ( ) : string
리턴 string The factory class name

getInterface() 공개 메소드

Returns interface name the class loader has.
public getInterface ( ) : string
리턴 string The interface name the class loader has

getName() 공개 메소드

Returns the class loader name.
public getName ( ) : string
리턴 string The unique class loader name

getPrimaryKey() 공개 메소드

Returns the nodes primary key, the name by default.
또한 보기: AppserverIo\Appserver\Core\Api\Node\AbstractNode::getPrimaryKey()
public getPrimaryKey ( ) : string
리턴 string The nodes primary key

getProcessing() 공개 메소드

The processing level to use, can be one of 'exception' or 'logging'.
public getProcessing ( ) : string
리턴 string The processing level

getType() 공개 메소드

Returns the class loader type.
public getType ( ) : string
리턴 string The class name

getTypeSafety() 공개 메소드

Flag that shows Doppelgaenger type safety is activated.
public getTypeSafety ( ) : boolean
리턴 boolean TRUE if Doppelgaenger type safety is enabled, else FALSE

프로퍼티 상세

$factory 보호되어 있는 프로퍼티

The class loaders factory class name.
protected string $factory
리턴 string

$interface 보호되어 있는 프로퍼티

The interface name the class loader has.
protected string $interface
리턴 string

$name 보호되어 있는 프로퍼티

The unique class loader name.
protected string $name
리턴 string

$type 보호되어 있는 프로퍼티

The class loaders class name.
protected string $type
리턴 string