store\controllers\PurchaseController::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'], 'delete' => ['post'], 'count' => ['post']]]];
    }