Please replace "A BagManager" by "The Symfony1xBagManager"