TYPO3 CMS  TYPO3_6-2
ClassInfo.php
Go to the documentation of this file.
1 <?php
3 
22 class ClassInfo {
23 
29  private $className;
30 
45 
52  private $injectMethods;
53 
61 
67  private $isSingleton = FALSE;
68 
74  private $isInitializeable = FALSE;
75 
84  public function __construct($className, array $constructorArguments, array $injectMethods, $isSingleton = FALSE, $isInitializeable = FALSE, array $injectProperties = array()) {
85  $this->className = $className;
86  $this->constructorArguments = $constructorArguments;
87  $this->injectMethods = $injectMethods;
88  $this->injectProperties = $injectProperties;
89  $this->isSingleton = $isSingleton;
90  $this->isInitializeable = $isInitializeable;
91  }
92 
98  public function getClassName() {
99  return $this->className;
100  }
101 
107  public function getConstructorArguments() {
109  }
110 
116  public function getInjectMethods() {
117  return $this->injectMethods;
118  }
119 
125  public function getInjectProperties() {
127  }
128 
134  public function getIsSingleton() {
135  return $this->isSingleton;
136  }
137 
143  public function getIsInitializeable() {
145  }
146 
152  public function hasInjectMethods() {
153  return count($this->injectMethods) > 0;
154  }
155 
159  public function hasInjectProperties() {
160  return count($this->injectProperties) > 0;
161  }
162 }
__construct($className, array $constructorArguments, array $injectMethods, $isSingleton=FALSE, $isInitializeable=FALSE, array $injectProperties=array())
Definition: ClassInfo.php:84