public function applyConfirmation()
    {
        if (!$this->confirmCodeAttribute || empty($this->confirmCodeAttribute)) {
            throw new \yii\base\NotSupportedException('This method is not implemented.');
        }
        $this->setConfirmCode($this->generateConfirmationCode());
        return $this->save();
    }
public function applyConfirmation()
    {
        if (!$this->confirmCodeAttribute || empty($this->confirmCodeAttribute)) {
            throw new \yii\base\NotSupportedException('This method is not implemented.');
        }
        $this->setConfirmCode($this->generateConfirmationCode());
        return $this->save();
    }
public function applyConfirmation ( ) { if ( ! $ this -> confirmCodeAttribute || empty ( $ this -> confirmCodeAttribute ) ) { throw new \ yii \ base \ NotSupportedException ( 'This method is not implemented.' ) ; } $ this -> setConfirmCode ( $ this -> generateConfirmationCode ( ) ) ; return $ this -> save ( ) ; }
Apply confirmation.
@return boolean
@throws \yii\base\NotSupportedException
Apply confirmation .