TYPO3  7.6
Public Member Functions | Private Attributes | List of all members
ClassInfo Class Reference

Public Member Functions

 __construct ($className, array $constructorArguments, array $injectMethods, $isSingleton=false, $isInitializeable=false, array $injectProperties=array())
 
 getClassName ()
 
 getConstructorArguments ()
 
 getInjectMethods ()
 
 getInjectProperties ()
 
 getIsSingleton ()
 
 getIsInitializeable ()
 
 hasInjectMethods ()
 
 hasInjectProperties ()
 

Private Attributes

 $className
 
 $constructorArguments
 
 $injectMethods
 
 $injectProperties
 
 $isSingleton = false
 
 $isInitializeable = false
 

Detailed Description

Value object containing the relevant informations for a class, this object is build by the classInfoFactory - or could also be restored from a cache

Definition at line 21 of file ClassInfo.php.

Constructor & Destructor Documentation

__construct (   $className,
array  $constructorArguments,
array  $injectMethods,
  $isSingleton = false,
  $isInitializeable = false,
array  $injectProperties = array() 
)
Parameters
string$className
array$constructorArguments
array$injectMethods
bool$isSingleton
bool$isInitializeable
array$injectProperties

Definition at line 83 of file ClassInfo.php.

References ClassInfo\$className, ClassInfo\$constructorArguments, ClassInfo\$injectMethods, ClassInfo\$injectProperties, ClassInfo\$isInitializeable, ClassInfo\$isSingleton, and Container\isSingleton().

Member Function Documentation

getClassName ( )

Gets the class name passed to constructor

Returns
string

Definition at line 98 of file ClassInfo.php.

References ClassInfo\$className.

getConstructorArguments ( )

Get arguments passed to constructor

Returns
array

Definition at line 108 of file ClassInfo.php.

References ClassInfo\$constructorArguments.

getInjectMethods ( )

Returns an array with the inject methods.

Returns
array

Definition at line 118 of file ClassInfo.php.

References ClassInfo\$injectMethods.

getInjectProperties ( )

Returns an array with the inject properties

Returns
array

Definition at line 128 of file ClassInfo.php.

References ClassInfo\$injectProperties.

getIsInitializeable ( )

Asserts if the class is initializeable with initializeObject.

Returns
bool

Definition at line 148 of file ClassInfo.php.

References ClassInfo\$isInitializeable.

getIsSingleton ( )

Asserts if the class is a singleton or not.

Returns
bool

Definition at line 138 of file ClassInfo.php.

References ClassInfo\$isSingleton.

hasInjectMethods ( )

Asserts if the class has Dependency Injection methods

Returns
bool

Definition at line 158 of file ClassInfo.php.

hasInjectProperties ( )
Returns
bool

Definition at line 166 of file ClassInfo.php.

Member Data Documentation

$className
private

Definition at line 28 of file ClassInfo.php.

Referenced by ClassInfo\__construct(), and ClassInfo\getClassName().

$constructorArguments
private

Definition at line 43 of file ClassInfo.php.

Referenced by ClassInfo\__construct(), and ClassInfo\getConstructorArguments().

$injectMethods
private

Definition at line 51 of file ClassInfo.php.

Referenced by ClassInfo\__construct(), and ClassInfo\getInjectMethods().

$injectProperties
private

Definition at line 59 of file ClassInfo.php.

Referenced by ClassInfo\__construct(), and ClassInfo\getInjectProperties().

$isInitializeable = false
private

Definition at line 73 of file ClassInfo.php.

Referenced by ClassInfo\__construct(), and ClassInfo\getIsInitializeable().

$isSingleton = false
private

Definition at line 66 of file ClassInfo.php.

Referenced by ClassInfo\__construct(), and ClassInfo\getIsSingleton().