-
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Milestone
Description
- bug report? yes
- version: 2.4.6
Description
When i have persistent parameter in trait, routes with this parameter don't work. Probably problem is here: \Nette\Application\UI\Presenter::argsToParams because reflection cannot load parameters from trait.
Steps To Reproduce
trait PresenterTrait
{
/** @persistent */
public $locale;
}
class DefaultPresenter extends \Nette\Application\UI\Presenter
{
use PresenterTrait;
}
class SecondPresenter extends \Nette\Application\UI\Presenter
{
use PresenterTrait;
}Metadata
Metadata
Assignees
Labels
No labels