src/Libraries/Validations/BaseCampaignValidation.php
/**
     * Processes validation.
     *
     * If validation is successful, it will return updated request.
     * If validation is unsuccessful, it will return null.
     *
     * @return object
     */
Processes validation.
If validation is successful, it will return updated request.
If validation is unsuccessful, it will return null.

@return object
Processes validation . If validation is successful it will return updated request . If validation is unsuccessful it will return null . @return object
public function process () {
        $this->setUserDetails();
        $this->setOperand();
        if ( !$this->isCampaignValid() ) {
            $this->error();
        }
        return $this->request;
    }
public function process ( ) { $ this -> setUserDetails ( ) ; $ this -> setOperand ( ) ; if ( ! $ this -> isCampaignValid ( ) ) { $ this -> error ( ) ; } return $ this -> request ; }
Processes validation.
Processes validation .
/**
         * Sets user details
         */ /**
         * Sets operand against which validation is to be performed.
         */ /**
         * Checks if campaign is valid.
         */ /**
             * Sends campaign error message.
             */