protected function findRoutableAttributes(Resolver $resolver)
    {
        $type = $resolver->getType();

        if (in_array($type, ['restful', 'resource'])) {
            $method = 'find'.Str::studly($type).'Routable';

            list($action, $parameters) = call_user_func([$this, $method], $resolver);
        } else {
            throw new InvalidArgumentException("Type [{$type}] not implemented.");
        }

        return [$action, $parameters];
    }
protected function findRoutableAttributes(Resolver $resolver)
    {
        $type = $resolver->getType();

        if (in_array($type, ['restful', 'resource'])) {
            $method = 'find'.Str::studly($type).'Routable';

            list($action, $parameters) = call_user_func([$this, $method], $resolver);
        } else {
            throw new InvalidArgumentException("Type [{$type}] not implemented.");
        }

        return [$action, $parameters];
    }
protected function findRoutableAttributes ( Resolver $ resolver ) { $ type = $ resolver -> getType ( ) ; if ( in_array ( $ type , [ 'restful' , 'resource' ] ) ) { $ method = 'find' . Str :: studly ( $ type ) . 'Routable' ; list ( $ action , $ parameters ) = call_user_func ( [ $ this , $ method ] , $ resolver ) ; } else { throw new InvalidArgumentException ( "Type [{$type}] not implemented." ) ; } return [ $ action , $ parameters ] ; }
Find route action and parameters content attributes from either
restful or resources routing.

@param  \Orchestra\Resources\Resolver  $resolver

@return array

@throws \InvalidArgumentException
Find route action and parameters content attributes from either restful or resources routing .