Doctrine\OrientDB\Query\Command\Index\Put::__construct PHP Метод

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

Creates a new instance of this command setting the index to insert into, the key of the new entry and its value, which is a RID.
public __construct ( string $indexName, string $key, string $rid )
$indexName string
$key string
$rid string
    public function __construct($indexName, $key, $rid)
    {
        parent::__construct();
        $this->setToken('Name', $indexName);
        $this->setToken('Key', $key);
        $this->setToken('Value', $rid);
    }