Closed ahmed91w closed 10 years ago
It looks like you are trying to inject the entity manager as a string, instead of the object. You need to inject the entity manager as an object. I think this is what your arguments should look like:
arguments: [@doctrine.orm.entity_manager]
yes thank you i found the solution but i have a question why i can't move the events over the calendar?
That is functionality that deals with FullCalendar, and is outside the scope of this bundle. You'll need to build extra functionality to do that. This bundle simply integrates symfony with fullcalendar and nothing else.
Hi everyone I want to add the listener to confg.yml but I found a problem here is my code : services: ago.agobundle.calendar_listener: class: ago\agoBundle\EventListener\CalendarEventListener tags:
when I add " arguments: [%doctrine.orm.entity_manager%] " I came across this exception