1 | <?php |
||
24 | class ArticleFactory extends AbstractArticleFactory |
||
25 | { |
||
26 | /** |
||
27 | * @var FactoryInterface |
||
28 | */ |
||
29 | private $baseFactory; |
||
30 | |||
31 | /** |
||
32 | * @var ArticleProviderInterface |
||
33 | */ |
||
34 | private $articleProvider; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | private $contentRelativePath; |
||
40 | |||
41 | /** |
||
42 | * ArticleFactory constructor. |
||
43 | * |
||
44 | * @param FactoryInterface $baseFactory |
||
45 | * @param RouteProviderInterface $routeProvider |
||
46 | * @param ArticleProviderInterface $articleProvider |
||
47 | * @param string $contentRelativePath |
||
48 | */ |
||
49 | public function __construct( |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function create() |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function createFromPackage(PackageInterface $package) |
||
82 | } |
||
83 |