store\controllers\PurchaseController::behaviors PHP Метод

behaviors() публичный Метод

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']]]];
    }