diff --git a/system/Annotation/Annotation.php b/system/Annotation/Annotation.php index 58ce50cc..0df43547 100644 --- a/system/Annotation/Annotation.php +++ b/system/Annotation/Annotation.php @@ -102,10 +102,10 @@ class Annotation extends BaseAnnotation */ public function get($name) { - if (!isset($this->_Scan_directory[$name])) { + if (!isset($this->_classMap[$name])) { throw new Exception('Undefined analytic class ' . $name . '.'); } - return $this->_Scan_directory[$name]; + return $this->_classMap[$name]; }