frontend\controllers\IController::behaviors PHP Method

behaviors() public method

public behaviors ( )
    public function behaviors()
    {
        return ['access' => ['class' => AccessControl::className(), 'rules' => [['allow' => true, 'roles' => ['@']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['send-email' => ['post'], 'send-msg' => ['post'], 'remove-email' => ['post']]]];
    }