protected function toPropertyName($methodName)
    {

        if (strpos($methodName, 'get') === 0 || strpos($methodName, 'set') === 0) {
            return lcfirst(substr($methodName, 3));
        }

        if (strpos($methodName, 'is') === 0) {
            return lcfirst(substr($methodName, 2));
        }

        return $methodName;

    }
protected function toPropertyName($methodName)
    {

        if (strpos($methodName, 'get') === 0 || strpos($methodName, 'set') === 0) {
            return lcfirst(substr($methodName, 3));
        }

        if (strpos($methodName, 'is') === 0) {
            return lcfirst(substr($methodName, 2));
        }

        return $methodName;

    }
protected function toPropertyName ( $ methodName ) { if ( strpos ( $ methodName , 'get' ) === 0 || strpos ( $ methodName , 'set' ) === 0 ) { return lcfirst ( substr ( $ methodName , 3 ) ) ; } if ( strpos ( $ methodName , 'is' ) === 0 ) { return lcfirst ( substr ( $ methodName , 2 ) ) ; } return $ methodName ; }
Return the property name of a method name.

@param string $methodName

@return string
Return the property name of a method name .