public function matches(object $object, ReflectionProperty $reflectionProperty): bool
    {
        return $reflectionProperty->getName() === $this->property;
    }
public function matches(object $object, ReflectionProperty $reflectionProperty): bool
    {
        return $reflectionProperty->getName() === $this->property;
    }
public function matches ( object $ object , ReflectionProperty $ reflectionProperty ) : bool { return $ reflectionProperty -> getName ( ) === $ this -> property ; }
Matches a property by its name.

{@inheritdoc}
Matches a property by its name .