public function inflectionMethod($method = null)
    {
        if ($method !== null) {
            $this->setInflectionMethod($method);
        }

        return $this->getInflectionMethod();
    }
public function inflectionMethod($method = null)
    {
        if ($method !== null) {
            $this->setInflectionMethod($method);
        }

        return $this->getInflectionMethod();
    }
public function inflectionMethod ( $ method = null ) { if ( $ method !== null ) { $ this -> setInflectionMethod ( $ method ) ; } return $ this -> getInflectionMethod ( ) ; }
Returns the inflect method or sets a new one

@param null|string $method The inflection method to use
@return null|string
@deprecated 2.0.0 Use setInflectionMethod() and getInflectionMethod() instead.
Returns the inflect method or sets a new one