public function __construct(array $attributes, $getStub, $setStub) { $folder = __DIR__ . '/../stubs/'; $this->attributes = $attributes; $this->getStub = $getStub; $this->setStub = $setStub; }