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];
    }