protected function getPresenterMethodFromVariable($variable)
    {
        $method = 'present'.str_replace(' ', '', ucwords(str_replace(['-', '_'], ' ', $variable)));
        if (method_exists($this, $method)) {
            return $method;
        }
    }
protected function getPresenterMethodFromVariable($variable)
    {
        $method = 'present'.str_replace(' ', '', ucwords(str_replace(['-', '_'], ' ', $variable)));
        if (method_exists($this, $method)) {
            return $method;
        }
    }
protected function getPresenterMethodFromVariable ( $ variable ) { $ method = 'present' . str_replace ( ' ' , '' , ucwords ( str_replace ( [ '-' , '_' ] , ' ' , $ variable ) ) ) ; if ( method_exists ( $ this , $ method ) ) { return $ method ; } }
Fetch the 'present' method name for the given variable.

@param string $variable

@return string|null
Fetch the present method name for the given variable .