Update function names

This commit is contained in:
Oliver Davies 2019-05-22 21:22:24 +01:00
parent 300d35c8f3
commit a3ec1cba61
3 changed files with 4 additions and 4 deletions

View file

@ -13,8 +13,8 @@ class SpeakersExtension extends AbstractExtension
public function getFunctions()
{
return [
new TwigFunction('sessionSpeakers', [$this, 'getSessionSpeakers']),
new TwigFunction('speakerSessions', [$this, 'getSpeakerSessions']),
new TwigFunction('speakersForSession', [$this, 'getSessionSpeakers']),
new TwigFunction('sessionsForSpeaker', [$this, 'getSpeakerSessions']),
];
}