| 1 | <?php |
||
| 19 | final class GenericProvider implements ProviderInterface |
||
| 20 | { |
||
| 21 | /** @var MediaUploaderInterface */ |
||
| 22 | private $uploader; |
||
| 23 | |||
| 24 | /** @var EngineInterface */ |
||
| 25 | private $twigEngine; |
||
| 26 | |||
| 27 | /** @var string */ |
||
| 28 | private $template; |
||
| 29 | |||
| 30 | /** @var string */ |
||
| 31 | private $pathPrefix; |
||
| 32 | |||
| 33 | public function __construct( |
||
| 44 | |||
| 45 | public function render(MediaInterface $media, array $options = []): string |
||
| 49 | |||
| 50 | public function upload(MediaInterface $media): void |
||
| 54 | } |
||
| 55 |