Projekt

Obecné

Profil

Stáhnout (475 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
<?php
2

    
3

    
4
namespace App\AdminModule\Presenters;
5

    
6

    
7
use App\AdminModule\Components\IExampleDynamicFactory;
8

    
9
class ExamplePresenter extends BaseAdminPresenter
10
{
11
    /**
12
     * @var IExampleDynamicFactory
13
     */
14
    private $dynamicFactory;
15

    
16
    public function __construct(IExampleDynamicFactory $dynamicFactory)
17
    {
18

    
19
        $this->dynamicFactory = $dynamicFactory;
20
    }
21

    
22
    public function createComponentForm()
23
    {
24
        return $this->dynamicFactory->create();
25
    }
26
}
(6-6/12)