refactored retrieving object from container
refactored retrieving object from container

redkite-labs/RedKiteCmsBundle,redkite-labs/RedKiteCmsBundle,redkite-labs/RedKiteCmsBundle,redkite-labs/RedKiteCmsBundle,redkite-labs/RedKiteCmsBundle