public function __construct(Filesystem $filesystem = null, Mustache_Engine $mustache = null) { parent::__construct($filesystem, $mustache); $this->templatePath = 'readme.txt'; $this->outputPath = 'README.md'; }
/** * @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'; }
public function create($packagePath) { $this->templatePath = 'licences/' . static::$licences[$this->type]['file']; parent::create($packagePath); }