Bundle/CoreBundle/Cache/Builder/CacheBuilder.php
public function saveBusinessEntity(BusinessEntity $businessEntity)
    {
        $businessEntities = $this->cache->get(BusinessEntity::CACHE_CLASSES);
        $businessEntities[$businessEntity->getClass()] = $businessEntity;
        $this->cache->save(BusinessEntity::CACHE_CLASSES, $businessEntities);
    }
public function saveBusinessEntity(BusinessEntity $businessEntity)
    {
        $businessEntities = $this->cache->get(BusinessEntity::CACHE_CLASSES);
        $businessEntities[$businessEntity->getClass()] = $businessEntity;
        $this->cache->save(BusinessEntity::CACHE_CLASSES, $businessEntities);
    }
public function saveBusinessEntity ( BusinessEntity $ businessEntity ) { $ businessEntities = $ this -> cache -> get ( BusinessEntity :: CACHE_CLASSES ) ; $ businessEntities [ $ businessEntity -> getClass ( ) ] = $ businessEntity ; $ this -> cache -> save ( BusinessEntity :: CACHE_CLASSES , $ businessEntities ) ; }
save BusinessEntity.
save BusinessEntity .