Class to create a PHP file which contains a assoziative PHP array.
Generated file will contain a PHP array as following:
return array(
'{classname}' => '{path_to_classfile}',
'{classname2}' => '{path_to_classfile2}',
);
| category | Development |
|---|---|
| package | mpAutoloaderClassMap |
| author | Murat Purc |
__construct($contenidoInstallPath) : void
create(array $data, string $file) : void
Prepares the classmap entries before passing them to parents create function.
arrayAssoziative list which contains class type tokens and the related path to the class file.
stringDestination class map file
_createClassMap(array $data) : void
| var | Assoziative list with class type tokens and files |
|---|---|
| inherited_from | \mpClassMapFileCreator::_createClassMap() |
_renderTemplate() : string
| inherited_from | \mpClassMapFileCreator::_renderTemplate() |
|---|
stringReplaced template$_template : string
| inherited_from | \mpClassMapFileCreator::$$_template |
|---|
$_contenidoInstallPath