Doctrine\OrientDB\Query\Query::executeClassOrPropertyCommand PHP Method

executeClassOrPropertyCommand() protected method

If none, class command is executed.
protected executeClassOrPropertyCommand ( string $action, string $class, string $property = null, string $type = null, string $linked = null ) : mixed
$action string
$class string
$property string
$type string
$linked string
return mixed
    protected function executeClassOrPropertyCommand($action, $class, $property = null, $type = null, $linked = null)
    {
        if ($property) {
            return $this->manageProperty($action, $class, $property, $type, $linked);
        }
        return $this->manageClass($action, $class);
    }