Doctrine\OrientDB\Query\Query::manageProperty PHP Method

manageProperty() protected method

Sets the right property command based on the $action.
protected manageProperty ( string $action, string $class, string $property, $type = null, $linked = null )
$action string
$class string
$property string
    protected function manageProperty($action, $class, $property, $type = null, $linked = null)
    {
        $commandClass = $this->getCommandClass("property." . $action);
        $this->command = new $commandClass($property, $type, $linked);
        $this->command->on($class);
        return $this->command;
    }