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

Parse the controllers for dependency injections. More...

Public Member Functions

 parse ($controllerClass, $config)
 
 __toString ()
 
 getInjections ()
 

Protected Member Functions

 getInjectableAutowired ($type, $propName)
 
 scanGlobalDi ($diConfig, $controller)
 
 isInjectable ($classname, $member, $silent=true)
 
 getInjection ($name, $config, $controller, $code=null)
 

Protected Attributes

 $injections = [ ]
 

Detailed Description

Parse the controllers for dependency injections.

Ubiquity\controllers\di$DiControllerParser 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.5
Since
Ubiquity 2.1.0

Definition at line 23 of file DiControllerParser.php.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 137 of file DiControllerParser.php.

◆ getInjectableAutowired()

getInjectableAutowired (   $type,
  $propName 
)
protected

Definition at line 57 of file DiControllerParser.php.

◆ getInjection()

getInjection (   $name,
  $config,
  $controller,
  $code = null 
)
protected

Definition at line 114 of file DiControllerParser.php.

◆ getInjections()

getInjections ( )
Returns
array

Definition at line 145 of file DiControllerParser.php.

◆ isInjectable()

isInjectable (   $classname,
  $member,
  $silent = true 
)
protected

Definition at line 97 of file DiControllerParser.php.

◆ parse()

parse (   $controllerClass,
  $config 
)

Definition at line 26 of file DiControllerParser.php.

◆ scanGlobalDi()

scanGlobalDi (   $diConfig,
  $controller 
)
protected

Definition at line 84 of file DiControllerParser.php.

Field Documentation

◆ $injections

$injections = [ ]
protected

Definition at line 24 of file DiControllerParser.php.


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