Пример #1
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testUseCacheInvalidArgument()
 {
     Factory\Annotations::useCache(new \stdClass());
 }
Пример #2
0
 /**
  * Get metadata
  *
  * @return Meta
  */
 public static function meta()
 {
     $factory = new Factory\Annotations();
     $refl = new ReflectionClass(get_called_class());
     return $factory->create($refl);
 }