1 | <?php |
||
28 | class ArticleProvider implements ArticleProviderInterface |
||
29 | { |
||
30 | /** |
||
31 | * @var ArticleRepositoryInterface |
||
32 | */ |
||
33 | private $articleRepository; |
||
34 | |||
35 | /** |
||
36 | * ArticleProvider constructor. |
||
37 | * |
||
38 | * @param ArticleRepositoryInterface $articleRepository |
||
39 | */ |
||
40 | public function __construct( |
||
45 | 109 | ||
46 | /** |
||
47 | 2 | * {@inheritdoc} |
|
48 | */ |
||
49 | 2 | public function getOneById($id) |
|
57 | 10 | ||
58 | 8 | /** |
|
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | 2 | public function getParent($id) |
|
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function getRouteArticlesQuery(string $routeIdentifier, array $order) |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function getOneByCriteria(Criteria $criteria): ArticleInterface |
||
87 | 12 | ||
88 | 2 | /** |
|
89 | * {@inheritdoc} |
||
90 | */ |
||
91 | 11 | public function getCountByCriteria(Criteria $criteria): int |
|
95 | } |
||
96 |