예제 #1
0
파일: MetaTest.php 프로젝트: jasny/meta
 protected function createMeta(\Reflector $refl)
 {
     $factory = new Factory\Annotations();
     return $factory->create($refl);
 }
예제 #2
0
 /**
  * Get metadata
  *
  * @return Meta
  */
 public static function meta()
 {
     $factory = new Factory\Annotations();
     $refl = new ReflectionClass(get_called_class());
     return $factory->create($refl);
 }