常用方法
常用方法
常用方法
常用方法
public function testSetGetHydrationCacheImpl() { $this->assertSame(null, $this->configuration->getHydrationCacheImpl()); // defaults $queryCacheImpl = $this->getMock('Doctrine\\Common\\Cache\\Cache'); $this->configuration->setHydrationCacheImpl($queryCacheImpl); $this->assertSame($queryCacheImpl, $this->configuration->getHydrationCacheImpl()); }