49 $properties = get_object_vars($this);
50 unset($properties[
'objectContainer']);
51 return array_keys($properties);
74 return class_exists($objectName, TRUE);
90 public function get($objectName) {
91 $arguments = func_get_args();
92 array_shift($arguments);
93 return $this->objectContainer->getInstance($objectName, $arguments);
110 $arguments = func_get_args();
111 array_shift($arguments);
112 if ($objectName ===
'DateTime') {
113 array_unshift($arguments, $objectName);
114 $instance = call_user_func_array(array(
'TYPO3\\CMS\\Core\\Utility\\GeneralUtility',
'makeInstance'), $arguments);
116 $instance = $this->objectContainer->getInstance($objectName, $arguments);
118 if ($instance instanceof \
TYPO3\CMS\Core\SingletonInterface) {
119 throw new \TYPO3\CMS\Extbase\Object\Exception\WrongScopeException(
'Object "' . $objectName .
'" is of not of scope prototype, but only prototype is supported by create()', 1265203124);
132 return $this->objectContainer->getEmptyObject($className);
getEmptyObject($className)
static makeInstance($className)
isRegistered($objectName)