Beispiel #1
0
 /**
  * Constructor
  *
  * @param PageRendererInterface $pageRenderer Page renderer
  * @param string $folder Pages folder
  * @param string $fileExtension File extension
  */
 function __construct(PageRendererInterface $pageRenderer, $folder, $fileExtension)
 {
     parent::__construct($pageRenderer);
     $this->folder = $folder;
     $this->fileExtension = '.' . ltrim($fileExtension, '.');
     $this->arePagesFetched = false;
 }
Beispiel #2
0
 /**
  * Constructor
  *
  * @param PageRendererInterface $pageRenderer Page renderer
  * @param string $folder Pages folder
  * @param string $fileExtension File extension
  * @param
  */
 function __construct(PageRendererInterface $pageRenderer, Collection $collection)
 {
     parent::__construct($pageRenderer);
     $this->collection = $collection;
 }