public function __construct(SourceDir $source = null, $stub, array $meta = null, $readonly = true) { $this->source = $source; $this->stub = $stub; $this->meta = $meta; $this->readonly = $readonly; }