Projekt

Obecné

Profil

Stáhnout (570 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 a80fe7b2 Jan Šedivý
<?php
2
3
namespace App\AdminModule\Presenters;
4
5
6
use App\AdminModule\Components\IHomepageEditFormFactory;
7
8 b157bae3 Filip Jani
class SettingsPresenter extends BaseAdminPresenter
9 a80fe7b2 Jan Šedivý
{
10
    /**
11
     * @var IHomepageEditFormFactory
12
     */
13
    private $homepageEditFormFactory;
14
15
    public function __construct(IHomepageEditFormFactory $homepageEditFormFactory)
16
    {
17
        $this->homepageEditFormFactory = $homepageEditFormFactory;
18
19 b157bae3 Filip Jani
        parent::__construct();
20 a80fe7b2 Jan Šedivý
    }
21
22
    public function createComponentHomepageEditForm()
23
    {
24
        return $this->homepageEditFormFactory->create();
25
    }
26
27
}