Пример #1
0
 /**
  * Check to see if the given metadata driver is the annotation driver for the
  * given directory path
  *
  * @param Driver $driver
  * @param string $path 
  * @return boolean
  */
 private function _isAnnotationDriverForPath(Driver $driver, $path)
 {
     if (!$driver instanceof AnnotationDriver) {
         return false;
     }
     if (in_array(realpath($path), $driver->getPaths())) {
         return true;
     } else {
         return false;
     }
 }