Pop\Code\Generator\PropertyGenerator::__construct PHP Method

__construct() public method

Instantiate the property generator object
public __construct ( string $name, string $type, mixed $value = null, string $visibility = 'public' ) : PropertyGenerator
$name string
$type string
$value mixed
$visibility string
return PropertyGenerator
    public function __construct($name, $type, $value = null, $visibility = 'public')
    {
        $this->type = $type;
        $this->name = $name;
        $this->value = $value;
        $this->visibility = $visibility;
    }