final public setCacheAdvice ( |
||
$cacheAdvice |
public final function setCacheAdvice(CacheAdvice $cacheAdvice)
{
$this->cacheAdvice = $cacheAdvice;
return $this;
}
public function testCacheUnavailable() { $this->setExpectedException(CacheUnavailableException::class); $this->porter->import($this->specification->setCacheAdvice(CacheAdvice::MUST_CACHE())); }