| 1 | <?php  | 
            ||
| 20 | class DashboardStatisticsProvider implements DashboardStatisticsProviderInterface  | 
            ||
| 21 | { | 
            ||
| 22 | /**  | 
            ||
| 23 | * @var OrderRepositoryInterface  | 
            ||
| 24 | */  | 
            ||
| 25 | private $orderRepository;  | 
            ||
| 26 | |||
| 27 | /**  | 
            ||
| 28 | * @var CustomerRepositoryInterface  | 
            ||
| 29 | */  | 
            ||
| 30 | private $customerRepository;  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * @param OrderRepositoryInterface $orderRepository  | 
            ||
| 34 | * @param CustomerRepositoryInterface $customerRepository  | 
            ||
| 35 | */  | 
            ||
| 36 | public function __construct(OrderRepositoryInterface $orderRepository, CustomerRepositoryInterface $customerRepository)  | 
            ||
| 41 | |||
| 42 | /**  | 
            ||
| 43 |      * {@inheritdoc} | 
            ||
| 44 | */  | 
            ||
| 45 | public function getStatistics()  | 
            ||
| 53 | }  | 
            ||
| 54 |