TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Object\Container\ClassInfo Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Object\Container\ClassInfo:
Tx_Extbase_Object_Container_ClassInfo

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

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Value object containing the relevant informations for a class, this object is build by the classInfoFactory - or could also be restored from a cache

Author
Daniel Pötzinger

Definition at line 22 of file ClassInfo.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::__construct (   $className,
array  $constructorArguments,
array  $injectMethods,
  $isSingleton = FALSE,
  $isInitializeable = FALSE,
array  $injectProperties = array() 
)

Member Function Documentation

◆ getClassName()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::getClassName ( )

Gets the class name passed to constructor

Returns
string

Definition at line 98 of file ClassInfo.php.

References TYPO3\CMS\Extbase\Object\Container\ClassInfo\$className.

◆ getConstructorArguments()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::getConstructorArguments ( )

Get arguments passed to constructor

Returns
array

Definition at line 107 of file ClassInfo.php.

References TYPO3\CMS\Extbase\Object\Container\ClassInfo\$constructorArguments.

◆ getInjectMethods()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::getInjectMethods ( )

Returns an array with the inject methods.

Returns
array

Definition at line 116 of file ClassInfo.php.

References TYPO3\CMS\Extbase\Object\Container\ClassInfo\$injectMethods.

◆ getInjectProperties()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::getInjectProperties ( )

Returns an array with the inject properties

Returns
array

Definition at line 125 of file ClassInfo.php.

References TYPO3\CMS\Extbase\Object\Container\ClassInfo\$injectProperties.

◆ getIsInitializeable()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::getIsInitializeable ( )

Asserts if the class is initializeable with initializeObject.

Returns
boolean

Definition at line 143 of file ClassInfo.php.

References TYPO3\CMS\Extbase\Object\Container\ClassInfo\$isInitializeable.

◆ getIsSingleton()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::getIsSingleton ( )

Asserts if the class is a singleton or not.

Returns
boolean

Definition at line 134 of file ClassInfo.php.

References TYPO3\CMS\Extbase\Object\Container\ClassInfo\$isSingleton.

◆ hasInjectMethods()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::hasInjectMethods ( )

Asserts if the class has Dependency Injection methods

Returns
boolean

Definition at line 152 of file ClassInfo.php.

◆ hasInjectProperties()

TYPO3\CMS\Extbase\Object\Container\ClassInfo::hasInjectProperties ( )
Returns
boolean

Definition at line 159 of file ClassInfo.php.

Member Data Documentation

◆ $className

TYPO3\CMS\Extbase\Object\Container\ClassInfo::$className
private

◆ $constructorArguments

TYPO3\CMS\Extbase\Object\Container\ClassInfo::$constructorArguments
private

◆ $injectMethods

TYPO3\CMS\Extbase\Object\Container\ClassInfo::$injectMethods
private

◆ $injectProperties

TYPO3\CMS\Extbase\Object\Container\ClassInfo::$injectProperties
private

◆ $isInitializeable

TYPO3\CMS\Extbase\Object\Container\ClassInfo::$isInitializeable = FALSE
private

◆ $isSingleton

TYPO3\CMS\Extbase\Object\Container\ClassInfo::$isSingleton = FALSE
private