public function process() { // Получаем данные корзины $response = parent::process(); if (!$response['success']) { return $response; } if (!$response['object']) { return $this->failure('Корзина пуста'); } return $this->success('Корзина успешно пересчитана'); }