Iber\Generator\Utilities\SetGetGenerator::__construct PHP Method

__construct() public method

[__construct description]
public __construct ( array $attributes, string $getStub, string $setStub )
$attributes array with attributes names
$getStub string set stub template
$setStub string get stub template
    public function __construct(array $attributes, $getStub, $setStub)
    {
        $folder = __DIR__ . '/../stubs/';
        $this->attributes = $attributes;
        $this->getStub = $getStub;
        $this->setStub = $setStub;
    }