public function addModifier(TransactionModifierInterface $modifier)
    {
        $this->modifiers[$modifier->getIdentifier()->getFull()] = $modifier;

        if ($modifier instanceof HasTransactionInterface) {
            $modifier->setTransaction($this);
        }
    }