public function __construct($mediaManager, $template) { $this->mediaManager = $mediaManager; $this->template = $template; }