User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Wrong namespace, and not needed.
Code check
No warning
undefined class router
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
They are defined in the joomla/router package https://github.com/joomla/joomla-cms/blob/4.0-dev/composer.lock#L1323-L1371 - my best assumption is you didn't refresh you're composer dependencies when you pulled down the api code in the 4.0 branch
yes, thnx I though it was the use Joomla\CMS\Router\Router; use Joomla\CMS\Router\Route;
composer update fixed the issue.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-08 23:26:23 |
Closed_By | ⇒ | 810 | |
Labels |
Added:
?
|
These are the right classes and they are needed. The class extends router and the route class is used on line 65