private function getAttributeName(ReflectionMethod $method): string
    {
        return lcfirst(
            substr($method->name, 0 === strpos($method->name, 'is') ? 2 : 3)
        );
    }
private function getAttributeName(ReflectionMethod $method): string
    {
        return lcfirst(
            substr($method->name, 0 === strpos($method->name, 'is') ? 2 : 3)
        );
    }
private function getAttributeName ( ReflectionMethod $ method ) : string { return lcfirst ( substr ( $ method -> name , 0 === strpos ( $ method -> name , 'is' ) ? 2 : 3 ) ) ; }
Get the attribute name from method.

@param ReflectionMethod $method

@return string
Get the attribute name from method .