Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Namespaces | |
Zend_Loader | |
Variables | |
$libPath = dirname(__FILE__) . '/../library' | |
if(!is_dir($libPath)) | else |
$loader = new Zend_Loader_StandardAutoloader(array('autoregister_zf' => true)) | |
$rules | |
try | |
catch(Zend_Console_Getopt_Exception $e) if($opts->getOption('h')) | $ignoreNamespaces = array() |
if(isset($opts->i)) | $relativePathForClassmap = '' |
if(isset($opts->l)) | $libraryPath = str_replace(DIRECTORY_SEPARATOR, '/', realpath($libraryPath)) |
$usingStdout = false | |
$appending = $opts->getOption('a') | |
$output = $libraryPath . '/autoload_classmap.php' | |
if(isset($opts->o)) if(! $usingStdout) | $l = new Zend_File_ClassFileLocator($libraryPath) |
$map = new stdClass | |
$content = preg_replace("#(=> ')#", "=> dirname(__FILE__) . '/", $content) | |
$maxWidth = 0 | |
$appending = $opts->getOption('a') |
Definition at line 99 of file classmap_generator.php.
$content = preg_replace("#(=> ')#", "=> dirname(__FILE__) . '/", $content) |
Definition at line 212 of file classmap_generator.php.
catch (Zend_Console_Getopt_Exception $e) if ( $opts->getOption( 'h')) $ignoreNamespaces = array() |
Definition at line 81 of file classmap_generator.php.
if (isset( $opts->o)) if (! $usingStdout) $l = new Zend_File_ClassFileLocator($libraryPath) |
Definition at line 163 of file classmap_generator.php.
$libPath = dirname(__FILE__) . '/../library' |
Generate class maps for use with autoloading.
Usage: –help|-h Get usage message –library|-l [ <string> ] Library to parse; if none provided, assumes current directory –output|-o [ <string> ] Where to write autoload file; if not provided, assumes "autoload_classmap.php" in library directory –append|-a Append to autoload file if it exists –overwrite|-w Whether or not to overwrite existing autoload file –ignore|-i [ <string> ] Comma-separated namespaces to ignore
Definition at line 37 of file classmap_generator.php.
if (isset( $opts->l)) $libraryPath = str_replace(DIRECTORY_SEPARATOR, '/', realpath($libraryPath)) |
Definition at line 96 of file classmap_generator.php.
$loader = new Zend_Loader_StandardAutoloader(array('autoregister_zf' => true)) |
Definition at line 55 of file classmap_generator.php.
$map = new stdClass |
Definition at line 167 of file classmap_generator.php.
$maxWidth = 0 |
Definition at line 226 of file classmap_generator.php.
$output = $libraryPath . '/autoload_classmap.php' |
Definition at line 100 of file classmap_generator.php.
if (isset( $opts->i)) $relativePathForClassmap = '' |
Definition at line 86 of file classmap_generator.php.
$rules |
Definition at line 59 of file classmap_generator.php.
$usingStdout = false |
Definition at line 98 of file classmap_generator.php.
Definition at line 44 of file classmap_generator.php.
try |
Definition at line 68 of file classmap_generator.php.