Skip to content

[Nette Kdyby] Add ReplaceEventManagerWithEventSubscriberRector#3440

Merged
TomasVotruba merged 1 commit intomasterfrom
event-manager-direct
May 29, 2020
Merged

[Nette Kdyby] Add ReplaceEventManagerWithEventSubscriberRector#3440
TomasVotruba merged 1 commit intomasterfrom
event-manager-direct

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

No description provided.

@TomasVotruba TomasVotruba force-pushed the event-manager-direct branch from 016bb16 to f0a67ed Compare May 28, 2020 23:36
$eventReference = $oldArgs[0]->value;

$classAndStaticProperty = $this->getValue($eventReference, true);
$eventCass = $this->eventClassNaming->createEventClassNameFromClassPropertyReference($classAndStaticProperty);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Todo: also create the event class

@TomasVotruba TomasVotruba merged commit 0b59ea3 into master May 29, 2020
@TomasVotruba TomasVotruba deleted the event-manager-direct branch May 29, 2020 09:00
TomasVotruba added a commit that referenced this pull request Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant