コード例 #1
0
ファイル: DataFile.php プロジェクト: daspete/labcoat
 /**
  * @param StyleguideInterface $styleguide
  * @return array
  */
 public function getConfig(StyleguideInterface $styleguide)
 {
     return ['cacheBuster' => $styleguide->getCacheBuster(), 'ishMaximum' => $styleguide->getMaximumWidth(), 'ishMinimum' => $styleguide->getMinimumWidth()];
 }
コード例 #2
0
ファイル: PageFile.php プロジェクト: daspete/labcoat
 protected function getPatternLabHeaderContent(StyleguideInterface $styleguide)
 {
     $data = ['cacheBuster' => $styleguide->getCacheBuster()];
     return $styleguide->render('partials/general-header', $data);
 }