44 $this->injectDocCommentParser($this->objectManager->get(
'TYPO3\\CMS\\Extbase\\Reflection\\DocCommentParser'));
45 $this->injectReflectionService($this->objectManager->get(
'TYPO3\\CMS\\Extbase\\Reflection\\ReflectionService'));
56 $namespaceParts = explode(
'\\', $namespace);
57 if ($namespaceParts[count($namespaceParts) - 1] ==
'') {
60 $classFilePathAndName .= implode(array_slice($namespaceParts, 3, -1),
'/') .
'/';
61 $classNames = array();
77 $dh = opendir($directory);
79 while (($file = readdir($dh)) !== FALSE) {
80 if ($file ==
'.' || $file ==
'..' || $file ==
'.svn') {
83 if (is_file($directory . $file)) {
84 if (substr($file, 0, 8) ==
'Abstract') {
87 $classNames[] = $namespace . substr($file, 0, -4);
88 } elseif (is_dir($directory . $file)) {
getClassNamesInNamespace($namespace)
static extPath($key, $script='')
generateDocbook($namespace)
static makeInstance($className)
recursiveClassNameSearch($namespace, $directory, &$classNames)