PHP Класс AppserverIo\Appserver\Core\Api\Node\ClassLoaderNode

Автор: Tim Wagner ([email protected])
Наследование: 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
Показать файл Открыть проект

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

Свойство Тип Описание
$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