<?php

namespace Licenzo\Framework\Contracts\Database\Query;

use Licenzo\Framework\Database\Query\Grammars\Grammar;

interface Expression
{
    /**
     * Get the value of the expression.
     *
     * @param  \Licenzo\Framework\Database\Grammar  $grammar
     * @return string|int|float
     */
    public function getValue(Grammar $grammar);
}
