protected function buildListRoute(Route $route, $name)
    {
        $contentType = $route->getContent();
        $contents    = $this->app['content_repository']->listContents($contentType);

        $this->logger->log(sprintf(
            'Building route <comment>%s</comment> with <info>%s</info> <comment>%s(s)</comment>',
            $name,
            count($contents),
            $contentType
        ));
        $this->builder->build($route, $name);
    }
protected function buildListRoute(Route $route, $name)
    {
        $contentType = $route->getContent();
        $contents    = $this->app['content_repository']->listContents($contentType);

        $this->logger->log(sprintf(
            'Building route <comment>%s</comment> with <info>%s</info> <comment>%s(s)</comment>',
            $name,
            count($contents),
            $contentType
        ));
        $this->builder->build($route, $name);
    }
protected function buildListRoute ( Route $ route , $ name ) { $ contentType = $ route -> getContent ( ) ; $ contents = $ this -> app [ 'content_repository' ] -> listContents ( $ contentType ) ; $ this -> logger -> log ( sprintf ( 'Building route <comment>%s</comment> with <info>%s</info> <comment>%s(s)</comment>' , $ name , count ( $ contents ) , $ contentType ) ) ; $ this -> builder -> build ( $ route , $ name ) ; }
Build list route

@param Route $route
@param string $name
Build list route