frontend\controllers\CartController::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' => ['add' => ['post'], 'subtract' => ['post'], 'refresh' => ['post'], 'clear' => ['post']]]];
    }