コード例 #1
0
ファイル: Html.php プロジェクト: iroegbu/Demo
 /**
  * Creates instance
  *
  * @param string                                    $basePage   The base (skeleton) page template
  * @param \CodeCollab\Theme\Loader                  $theme      Instance of a theme loader
  * @param \Minifine\Minifine                        $minifier   Instance of a resource minifier
  * @param \CodeCollab\I18n\Translator               $translator Instance of a translator
  * @param \CodeCollab\Authentication\Authentication $translator Instance of a translator
  * @param \CodeCollab\CsrfToken\Token               $csrfToken  The CSRF token
  */
 public function __construct(string $basePage, Loader $theme, Minifine $minifier, Translator $translator, Authentication $user, Token $csrfToken)
 {
     parent::__construct($basePage);
     $this->theme = $theme;
     $this->minifier = $minifier;
     $this->translator = $translator;
     $this->user = $user;
     $this->csrfToken = $csrfToken;
 }