Subfolders for controllers and models #17

Open
opened 2025-03-18 01:09:59 +07:00 by Arsen Mirzaev Tatyano-Muradovich · 0 comments

Uncaught DomainException: Failed to find the controller: mirzaev\huesos\controllers\api/acquirings/robokassa in /var/www/huesos/vendor/mirzaev/minimal/mirzaev/minimal/system/core.php:186

Wrong: ->write('/api/robokassa/result', new route('api/acquirings/robokassa', 'result'), 'GET')
Correct: ->write('/api/robokassa/result', new route('api\acquirings\robokassa', 'result'), 'GET')

Do i need to add the conversion of / to \?
Or leave it as is for better performance?

**Uncaught DomainException:** Failed to find the controller: `mirzaev\huesos\controllers\api/acquirings/robokassa` in `/var/www/huesos/vendor/mirzaev/minimal/mirzaev/minimal/system/core.php:186` **Wrong:** `->write('/api/robokassa/result', new route('api/acquirings/robokassa', 'result'), 'GET')` **Correct:** `->write('/api/robokassa/result', new route('api\acquirings\robokassa', 'result'), 'GET')` Do i need to add the conversion of `/` to `\`? Or leave it as is for better performance?
Arsen Mirzaev Tatyano-Muradovich added the
Suggestion
label 2025-03-18 01:11:17 +07:00
Arsen Mirzaev Tatyano-Muradovich added the
Status
Discussion
label 2025-03-18 01:12:41 +07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mirzaev/minimal#17
No description provided.