src/PHPDish/Bundle/PaymentBundle/Model/Wallet.php
public function freeze($amount)
    {
        if ($this->amount < $amount) {
            throw new \LogicException('Not enough balance');
        }
        $this->amount -= $amount;
        $this->freezeAmount += $amount;
        return $this;
    }
public function freeze($amount)
    {
        if ($this->amount < $amount) {
            throw new \LogicException('Not enough balance');
        }
        $this->amount -= $amount;
        $this->freezeAmount += $amount;
        return $this;
    }
{@inheritdoc}