PHP Class Sylius\Bundle\AdminBundle\Controller\DashboardController

Author: Paweł Jędrzejewski ([email protected])
Datei anzeigen Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Core\Dashboard\DashboardStatisticsProviderInterface $statisticsProvider, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templatingEngine, Symfony\Component\Routing\RouterInterface $router )
indexAction ( Request $request ) : Response

Private Methods

Method Description
findChannelByCodeOrFindFirst ( string $channelCode ) : Sylius\Component\Core\Model\ChannelInterface | null

Method Details

__construct() public method

public __construct ( Sylius\Component\Core\Dashboard\DashboardStatisticsProviderInterface $statisticsProvider, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templatingEngine, Symfony\Component\Routing\RouterInterface $router )
$statisticsProvider Sylius\Component\Core\Dashboard\DashboardStatisticsProviderInterface
$channelRepository Sylius\Component\Channel\Repository\ChannelRepositoryInterface
$templatingEngine Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$router Symfony\Component\Routing\RouterInterface

indexAction() public method

public indexAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response