Ejemplo n.º 1
0
 /**
  * Constructor
  *
  * @param Brancher $brancher
  * @param \Symfony\Component\Finder\SplFileInfo $srcFile File in the root directory
  * @param \Symfony\Component\Finder\SplFileInfo $dstFile File in the output directory
  * @param $isOld bool Whether the destination file is old and should be deleted
  */
 public function __construct(Brancher $brancher, SplFileInfo $srcFile, SplFileInfo $dstFile, $isOld)
 {
     parent::__construct($brancher);
     $this->srcFile = $srcFile;
     $this->dstFile = $dstFile;
     $this->isOld = $isOld;
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  *
  * @param Brancher $brancher
  * @param \Twig_TemplateInterface $template
  * @param array $context
  */
 public function __construct(Brancher $brancher, \Twig_TemplateInterface $template, array $context)
 {
     parent::__construct($brancher);
     $this->template = $template;
     $this->context = $context;
 }
Ejemplo n.º 3
0
 /**
  * Constructor
  *
  * @param Brancher $brancher
  * @param \Symfony\Component\Finder\Finder $renderFinder
  */
 public function __construct(Brancher $brancher, Finder $renderFinder)
 {
     parent::__construct($brancher);
     $this->renderFinder = $renderFinder;
 }
 /**
  * Constructor
  *
  * @param \CastlePointAnime\Brancher\Brancher $brancher
  * @param $path
  * @param $config
  */
 public function __construct(Brancher $brancher, SplFileInfo $path, $config)
 {
     parent::__construct($brancher);
     $this->path = $path;
     $this->config = $config;
 }