Doctrine\OrientDB\Query\Command\Property\Create::__construct PHP Method

__construct() public method

Generates a valid SQL statements to add $property of type $type linked to $linked.
public __construct ( string $property, string $type = null, string $linked = null )
$property string
$type string
$linked string
    public function __construct($property, $type = null, $linked = null)
    {
        parent::__construct($property);
        if ($type) {
            $this->setType($type);
        }
        if ($linked) {
            $this->setLinked($linked);
        }
    }