PDepend\Source\AST\AbstractASTType::setCache PHP 메소드

setCache() 공개 메소드

Setter method for the currently used token cache, where this class or interface instance can store the associated tokens.
public setCache ( PDepend\Util\Cache\CacheDriver $cache ) : AbstractASTType
$cache PDepend\Util\Cache\CacheDriver
리턴 AbstractASTType
    public function setCache(CacheDriver $cache)
    {
        $this->cache = $cache;
        return $this;
    }