src/Comodojo/Dispatcher/Cache/RouterCache.php
public function dump($data, $ttl=null) {

        return $this->getCache()
            ->setNamespace(self::CACHE_NAMESPACE)
            ->set(self::CACHE_NAME, $data, $ttl === null ? self::DEFAULTTTL : intval($ttl));

    }
public function dump($data, $ttl=null) {

        return $this->getCache()
            ->setNamespace(self::CACHE_NAMESPACE)
            ->set(self::CACHE_NAME, $data, $ttl === null ? self::DEFAULTTTL : intval($ttl));

    }
public function dump ( $ data , $ ttl = null ) { return $ this -> getCache ( ) -> setNamespace ( self :: CACHE_NAMESPACE ) -> set ( self :: CACHE_NAME , $ data , $ ttl === null ? self :: DEFAULTTTL : intval ( $ ttl ) ) ; }
Store the routing table in cache

@return array $data
@return int $ttl
@return bool
Store the routing table in cache