Instantly share code, notes, and snippets.

Embed
What would you like to do?
public static function getSubscribedEvents() {
// Subscribe to kernel request with default priority of 0.
$events[ EntityTypeEvents::CREATE][] = array('createRequest');
return $events;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment