private function completeProperty($a, ReflectionProperty $p)
    {
        if (!$a instanceof AbstractEntity) {
            throw new InvalidArgumentException("Expected instance of AbstractEntity here");
        }
        $a->setName($p->getName());
        $a->setClass($p->getDeclaringClass());
    }
private function completeProperty($a, ReflectionProperty $p)
    {
        if (!$a instanceof AbstractEntity) {
            throw new InvalidArgumentException("Expected instance of AbstractEntity here");
        }
        $a->setName($p->getName());
        $a->setClass($p->getDeclaringClass());
    }
private function completeProperty ( $ a , ReflectionProperty $ p ) { if ( ! $ a instanceof AbstractEntity ) { throw new InvalidArgumentException ( "Expected instance of AbstractEntity here" ) ; } $ a -> setName ( $ p -> getName ( ) ) ; $ a -> setClass ( $ p -> getDeclaringClass ( ) ) ; }
Finilizes created metadata description with few more info
@param AbstractEntity $a
@param ReflectionProperty $p
@throws InvalidArgumentException
Finilizes created metadata description with few more info