src/Offer/Offer.php
public function reject(StringLiteral $reason)
    {
        $this->guardRejection($reason) ?: $this->apply($this->createRejectedEvent($reason));
    }
public function reject(StringLiteral $reason)
    {
        $this->guardRejection($reason) ?: $this->apply($this->createRejectedEvent($reason));
    }
public function reject ( StringLiteral $ reason ) { $ this -> guardRejection ( $ reason ) ? : $ this -> apply ( $ this -> createRejectedEvent ( $ reason ) ) ; }
Reject an offer that is waiting for validation with a given reason.
@param StringLiteral $reason
Reject an offer that is waiting for validation with a given reason .