public listAnnotation ( string $annotation ) : array | ||
$annotation | string | The name of the annotation to retrieve. |
return | array | An associative array combining the folder names as key with the corresponding annotation value. |
public function listAnnotation($annotation);
/** * Returns the folder type annotation as associative array. * * @return array The list folder types with the folder names as key and the * type handler as values. */ private function listFolderTypeAnnotations() { $result = array(); foreach ($this->_driver->listAnnotation(self::ANNOTATION_FOLDER_TYPE) as $folder => $annotation) { $result[$folder] = $this->_folder_types->create($annotation); } return $result; }