Exemplo n.º 1
0
 private function applyTypes(ContainerInterface $container, MethodReflector $method)
 {
     if ($method->getDocBlock()->hasTag(self::DOC_TAG_RETURN)) {
         $container->setTypes($method->getName(), $method->getDocBlock()->getTag(self::DOC_TAG_RETURN)->getTypes());
     }
 }