protected function invokeGetter(ReflectionProperty $property)
    {
        $methodName = $this->generateGetterName($property->getName());
        if ($this->hasInternalMethod($methodName)) {
            return $this->$methodName();
        }

        throw new UndefinedPropertyException(sprintf(
            'No "%s"() method available for property "%s"', $methodName,
            $property->getName()
        ));
    }
protected function invokeGetter(ReflectionProperty $property)
    {
        $methodName = $this->generateGetterName($property->getName());
        if ($this->hasInternalMethod($methodName)) {
            return $this->$methodName();
        }

        throw new UndefinedPropertyException(sprintf(
            'No "%s"() method available for property "%s"', $methodName,
            $property->getName()
        ));
    }
protected function invokeGetter ( ReflectionProperty $ property ) { $ methodName = $ this -> generateGetterName ( $ property -> getName ( ) ) ; if ( $ this -> hasInternalMethod ( $ methodName ) ) { return $ this -> $ methodName ( ) ; } throw new UndefinedPropertyException ( sprintf ( 'No "%s"() method available for property "%s"' , $ methodName , $ property -> getName ( ) ) ) ; }
Invoke and return the given property's getter-method

@param ReflectionProperty $property The property in question

@return mixed Property value
@throws UndefinedPropertyException If given property doesn't have a corresponding get
Invoke and return the given property s getter - method