PDepend\Source\AST\AbstractASTType::setCache PHP Method

setCache() public method

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
return AbstractASTType
    public function setCache(CacheDriver $cache)
    {
        $this->cache = $cache;
        return $this;
    }