Dumplie\CustomerService\Domain\OrderState\Rejected::accept PHP Method

accept() public method

public accept ( ) : Dumplie\CustomerService\Domain\OrderState
return Dumplie\CustomerService\Domain\OrderState
    public function accept() : OrderState
    {
        throw InvalidTransitionException::finalState('rejected');
    }