src/Cache/Cache.php
public function setObject(ICacheable $cacheable)
    {
        if (!$this->isDisabled()) {
            $path = $this->resolvePath($cacheable->getCacheKey(), true);
            file_put_contents($path, $cacheable->getCacheValue());
        }
    }
public function setObject(ICacheable $cacheable)
    {
        if (!$this->isDisabled()) {
            $path = $this->resolvePath($cacheable->getCacheKey(), true);
            file_put_contents($path, $cacheable->getCacheValue());
        }
    }
public function setObject ( ICacheable $ cacheable ) { if ( ! $ this -> isDisabled ( ) ) { $ path = $ this -> resolvePath ( $ cacheable -> getCacheKey ( ) , true ) ; file_put_contents ( $ path , $ cacheable -> getCacheValue ( ) ) ; } }
puts a cacheable object into the cache.

@param ICacheable $cacheable
puts a cacheable object into the cache .