TYPO3
7.6
|
Public Member Functions | |
buildClassInfoFromClassName ($className) | |
Private Member Functions | |
getConstructorArguments (\ReflectionClass $reflectedClass) | |
getInjectMethods (\ReflectionClass $reflectedClass) | |
getInjectProperties (\ReflectionClass $reflectedClass) | |
isNameOfInjectMethod ($methodName) | |
getIsSingleton ($classname) | |
getIsInitializeable ($classname) | |
TYPO3 Dependency Injection container
Definition at line 20 of file ClassInfoFactory.php.
buildClassInfoFromClassName | ( | $className | ) |
Factory metod that builds a ClassInfo Object for the given classname - using reflection
string | $className | The class name to build the class info for |
Exception\UnknownObjectException |
Definition at line 29 of file ClassInfoFactory.php.
References ClassInfoFactory\getConstructorArguments(), ClassInfoFactory\getInjectMethods(), ClassInfoFactory\getInjectProperties(), ClassInfoFactory\getIsInitializeable(), and ClassInfoFactory\getIsSingleton().
|
private |
Build a list of constructor arguments
\ReflectionClass | $reflectedClass |
Definition at line 53 of file ClassInfoFactory.php.
Referenced by ClassInfoFactory\buildClassInfoFromClassName().
|
private |
Build a list of inject methods for the given class.
\ReflectionClass | $reflectedClass |
\Exception |
Definition at line 85 of file ClassInfoFactory.php.
References ClassInfoFactory\isNameOfInjectMethod().
Referenced by ClassInfoFactory\buildClassInfoFromClassName().
|
private |
Build a list of properties to be injected for the given class.
\ReflectionClass | $reflectedClass |
Definition at line 111 of file ClassInfoFactory.php.
Referenced by ClassInfoFactory\buildClassInfoFromClassName().
|
private |
This method is used to determine of the object is initializeable with the method initializeObject.
string | $classname |
Definition at line 165 of file ClassInfoFactory.php.
Referenced by ClassInfoFactory\buildClassInfoFromClassName().
|
private |
This method is used to determine if a class is a singleton or not.
string | $classname |
Definition at line 153 of file ClassInfoFactory.php.
Referenced by ClassInfoFactory\buildClassInfoFromClassName().
|
private |
This method checks if given method can be used for injection
string | $methodName |
Definition at line 135 of file ClassInfoFactory.php.
Referenced by ClassInfoFactory\getInjectMethods().