private function isBoomgoProperty(\ReflectionProperty $property)
    {
        $propertyName = $property->getName();
        $className = $property->getDeclaringClass()->getName();

        $annotationTag = substr_count($property->getDocComment(), $this->getLocalAnnotation());
        if (0 < $annotationTag) {
            if (1 === $annotationTag) {
                return true;
            }

            throw new \RuntimeException(sprintf('Boomgo annotation tag should occur only once for "%s->%s"', $className, $propertyName));
        }

        return false;
    }
private function isBoomgoProperty(\ReflectionProperty $property)
    {
        $propertyName = $property->getName();
        $className = $property->getDeclaringClass()->getName();

        $annotationTag = substr_count($property->getDocComment(), $this->getLocalAnnotation());
        if (0 < $annotationTag) {
            if (1 === $annotationTag) {
                return true;
            }

            throw new \RuntimeException(sprintf('Boomgo annotation tag should occur only once for "%s->%s"', $className, $propertyName));
        }

        return false;
    }
private function isBoomgoProperty ( \ ReflectionProperty $ property ) { $ propertyName = $ property -> getName ( ) ; $ className = $ property -> getDeclaringClass ( ) -> getName ( ) ; $ annotationTag = substr_count ( $ property -> getDocComment ( ) , $ this -> getLocalAnnotation ( ) ) ; if ( 0 < $ annotationTag ) { if ( 1 === $ annotationTag ) { return true ; } throw new \ RuntimeException ( sprintf ( 'Boomgo annotation tag should occur only once for "%s->%s"' , $ className , $ propertyName ) ) ; } return false ; }
Check if an object property has to be processed by Boomgo

@param ReflectionProperty $property the property to check

@throws RuntimeException If annotation is malformed

@return Boolean True if the property should be stored
Check if an object property has to be processed by Boomgo