Property | Type | Description | |
---|---|---|---|
$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. |
Method | Description | |
---|---|---|
__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. |
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 |
public getEnforcementLevel ( ) : integer | ||
return | integer | The enforcement level |
public getEnvironment ( ) : string | ||
return | string | The configured environment |
public getFactory ( ) : string | ||
return | string | The factory class name |
public getInterface ( ) : string | ||
return | string | The interface name the class loader has |
public getPrimaryKey ( ) : string | ||
return | string | The nodes primary key |
public getProcessing ( ) : string | ||
return | string | The processing level |
public getTypeSafety ( ) : boolean | ||
return | boolean | TRUE if Doppelgaenger type safety is enabled, else FALSE |
protected string $factory | ||
return | string |
protected string $interface | ||
return | string |