Пример #1
0
 public function __construct(Filesystem $filesystem = null, Mustache_Engine $mustache = null)
 {
     parent::__construct($filesystem, $mustache);
     $this->templatePath = 'readme.txt';
     $this->outputPath = 'README.md';
 }
Пример #2
0
 /**
  * @param Filesystem $filesystem
  * @param Mustache_Engine $mustache
  */
 public function __construct(Filesystem $filesystem = null, Mustache_Engine $mustache = null)
 {
     parent::__construct($filesystem, $mustache);
     $this->templatePath = 'composer.txt';
     $this->outputPath = 'composer.json';
 }
Пример #3
0
 public function create($packagePath)
 {
     $this->templatePath = 'licences/' . static::$licences[$this->type]['file'];
     parent::create($packagePath);
 }