You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there any reason why to limit usage only for Components:
if (! $this instanceof Nette\Application\UI\Component) {
throw new MemberAccessException('Trait ' . __TRAIT__ . ' can be used only in descendants of ' . Nette\Application\UI\Component::class . '.');
}
?
I'm using it (successfully) also in Symfony Console Commands.
Thank you for your opinion.
The text was updated successfully, but these errors were encountered:
Hi,
is there any reason why to limit usage only for Components:
?
I'm using it (successfully) also in Symfony Console Commands.
Thank you for your opinion.
The text was updated successfully, but these errors were encountered: