protected function registerFractal()
    {
        $this->app->bind(SerializerAbstract::class, function ($app) {
            $serializer = $app->config->get('responder.serializer');

            return new $serializer;
        });

        $this->app->bind(Manager::class, function ($app) {
            return (new Manager())->setSerializer($app[SerializerAbstract::class]);
        });

        $this->app->bind(ResourceFactory::class, function () {
            return new ResourceFactory();
        });
    }