Doctrine\OrientDB\Query\Command\Index\Drop::__construct PHP Method

__construct() public method

Creates a new statements to manage indexes on the $property of the given $class.
public __construct ( string $property, string $class = null )
$property string
$class string
    public function __construct($property, $class = null)
    {
        parent::__construct();
        if ($class) {
            $this->setToken('IndexClass', $class);
        }
        $this->setToken('Property', $property);
    }