__construct()
create()
_createClassMap()
_renderTemplate()
$_data
$_template
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() : void
create(array $data, string $file) : void
array
Assoziative list which contains class type tokens and the related path to the class file.
string
Destination class map file
_createClassMap(array $data) : void
var | Assoziative list with class type tokens and files |
---|
_renderTemplate() : string
string
Replaced template$_template : string