protected function parseMethod()
    {
        $action = $this->request->route()->getActionName();

        // parse index, store, create etc
        if ( preg_match('/@([^\s].+)$/is', $action, $m) ) {
            $controller = $m[1];
            if ( $controller != 'Closure' ) {
                return $controller;
            }
        }

        return false;
    }
protected function parseMethod()
    {
        $action = $this->request->route()->getActionName();

        // parse index, store, create etc
        if ( preg_match('/@([^\s].+)$/is', $action, $m) ) {
            $controller = $m[1];
            if ( $controller != 'Closure' ) {
                return $controller;
            }
        }

        return false;
    }
protected function parseMethod ( ) { $ action = $ this -> request -> route ( ) -> getActionName ( ) ; // parse index, store, create etc if ( preg_match ( '/@([^\s].+)$/is' , $ action , $ m ) ) { $ controller = $ m [ 1 ] ; if ( $ controller != 'Closure' ) { return $ controller ; } } return false ; }
Extract controller method

@return string
Extract controller method