Doctrine\OrientDB\Query\Command\Create\Edge::__construct PHP Метод

__construct() публичный Метод

Builds a new statement, setting the $class.
public __construct ( string $class, string $from, string $to )
$class string
$from string
$to string
    public function __construct($class, $from, $to)
    {
        parent::__construct();
        $this->setToken('Class', $class);
        $this->setToken('From', $from);
        $this->setToken('To', $to);
    }