Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
PreloaderInternalTrait Class Reference

Ubiquity\cache\preloading$PreloaderInternalTrait This class is part of Ubiquity. More...

Private Member Functions

 addClassFile ($class, $file)
 
 loadClass ($class, $file=null)
 
 getPathFromClass (string $class)
 
 loadFile (string $file)
 
 isExcluded (string $name)
 
 glob_recursive ($pattern, $flags=0)
 
 getClassFullNameFromFile ($filePathName, $backSlash=false)
 
 getClassNamespaceFromPhpCode ($phpCode)
 
 getClassNameFromPhpCode ($phpCode)
 
 asPhpArray ($array, $prefix="", $depth=1, $format=false)
 
 parseValue ($v, $prefix="", $depth=1, $format=false)
 
 closure_dump (\Closure $c)
 
 doubleBackSlashes ($value)
 

Private Attributes

 $vendorDir
 
 $excludeds = [ ]
 
 $classes = [ ]
 
 $loader
 

Static Private Attributes

static $libraries
 
static $count = 0
 

Detailed Description

Ubiquity\cache\preloading$PreloaderInternalTrait This class is part of Ubiquity.

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.2

Definition at line 13 of file PreloaderInternalTrait.php.

Member Function Documentation

◆ addClassFile()

addClassFile (   $class,
  $file 
)
private

Definition at line 33 of file PreloaderInternalTrait.php.

◆ asPhpArray()

asPhpArray (   $array,
  $prefix = "",
  $depth = 1,
  $format = false 
)
private

Definition at line 140 of file PreloaderInternalTrait.php.

◆ closure_dump()

closure_dump ( \Closure  $c)
private

Definition at line 177 of file PreloaderInternalTrait.php.

◆ doubleBackSlashes()

doubleBackSlashes (   $value)
private

Definition at line 219 of file PreloaderInternalTrait.php.

◆ getClassFullNameFromFile()

getClassFullNameFromFile (   $filePathName,
  $backSlash = false 
)
private

Definition at line 83 of file PreloaderInternalTrait.php.

◆ getClassNameFromPhpCode()

getClassNameFromPhpCode (   $phpCode)
private

Definition at line 124 of file PreloaderInternalTrait.php.

◆ getClassNamespaceFromPhpCode()

getClassNamespaceFromPhpCode (   $phpCode)
private

Definition at line 96 of file PreloaderInternalTrait.php.

◆ getPathFromClass()

getPathFromClass ( string  $class)
private

Definition at line 51 of file PreloaderInternalTrait.php.

◆ glob_recursive()

glob_recursive (   $pattern,
  $flags = 0 
)
private

Definition at line 75 of file PreloaderInternalTrait.php.

◆ isExcluded()

isExcluded ( string  $name)
private

Definition at line 66 of file PreloaderInternalTrait.php.

◆ loadClass()

loadClass (   $class,
  $file = null 
)
private

Definition at line 39 of file PreloaderInternalTrait.php.

◆ loadFile()

loadFile ( string  $file)
private

Definition at line 59 of file PreloaderInternalTrait.php.

◆ parseValue()

parseValue (   $v,
  $prefix = "",
  $depth = 1,
  $format = false 
)
private

Definition at line 165 of file PreloaderInternalTrait.php.

Field Documentation

◆ $classes

$classes = [ ]
private

Definition at line 30 of file PreloaderInternalTrait.php.

◆ $count

$count = 0
staticprivate

Definition at line 29 of file PreloaderInternalTrait.php.

◆ $excludeds

$excludeds = [ ]
private

Definition at line 28 of file PreloaderInternalTrait.php.

◆ $libraries

$libraries
staticprivate
Initial value:
= [
'application' => './../app/',
'ubiquity' => 'phpmv/ubiquity/src/Ubiquity/',
'ubiquity-dev' => 'phpmv/ubiquity-dev/src/Ubiquity/',
'ubiquity-webtools' => 'phpmv/ubiquity-webtools/src/Ubiquity/',
'ubiquity-mailer' => 'phpmv/ubiquity-mailer/src/Ubiquity/',
'ubiquity-swoole' => 'phpmv/ubiquity-swoole/src/Ubiquity/',
'ubiquity-annotations'=>'phpmv/ubiquity-annotations/src/Ubiquity/',
'ubiquity-attributes'=>'phpmv/ubiquity-attributes/src/Ubiquity/',
'ubiquity-workerman' => 'phpmv/ubiquity-workerman/src/Ubiquity/',
'ubiquity-tarantool' => 'phpmv/ubiquity-tarantool/src/Ubiquity/',
'ubiquity-mysqli' => 'phpmv/ubiquity-mysqli/src/Ubiquity/',
'phpmv-ui' => 'phpmv/php-mv-ui/Ajax/' ]

Definition at line 15 of file PreloaderInternalTrait.php.

◆ $loader

$loader
private

Definition at line 31 of file PreloaderInternalTrait.php.

◆ $vendorDir

$vendorDir
private

Definition at line 14 of file PreloaderInternalTrait.php.


The documentation for this class was generated from the following file: