Пример #1
0
 private static function isTransient(\ReflectionAnnotatedProperty $property)
 {
     $annotations = $property->getAllAnnotations();
     foreach ($annotations as $annotation) {
         return is_subclass_of($annotation, "Transient") || get_class($annotation) == "Transient";
     }
 }
 protected function doProperty(BeanDefinition $bean, \ReflectionAnnotatedProperty $property)
 {
     $listAnnotation = $property->getAllAnnotations();
     foreach ($listAnnotation as $annotation) {
         if ($annotation instanceof annotations\PropertyAnnotation) {
             $annotation->doVariableProperty($bean, $property->name);
         }
     }
 }