Import
class Import (View source)
Methods
No description
Get log
Fill libs from ./system/boot/namespaces.php source.
Fill libs from autoload_classmap.php source.
Load autoload_psr4.php classes, used by PSR-4 packages
Load autoload_namespaces.php classes, used by PSR-0 packages
Associate namespace prefix to folder class namespace to file
Return array of libs
Save imported packages path to file in PHP format ()
Fill script files from autoload_files.php source.
Save imported autoload files path to file in PHP format
Details
__construct()
No description
array
logs()
Get log
int|false
boot()
Fill libs from ./system/boot/namespaces.php source.
int
classmap()
Fill libs from autoload_classmap.php source.
int
psr4()
Load autoload_psr4.php classes, used by PSR-4 packages
int
psr0()
Load autoload_namespaces.php classes, used by PSR-0 packages
setItem(string $prefix, string $path, string $delimiter = '\\')
Associate namespace prefix to folder class namespace to file
array
getLibs()
Return array of libs
bool
save(string $path)
Save imported packages path to file in PHP format ()
int
files()
Fill script files from autoload_files.php source.
bool
saveFiles(string $path, bool $removeEmpty = false)
Save imported autoload files path to file in PHP format