src/Provider/FileProvider.php
/**
     * Saves the parsed routes into a cache file.
     * @param string $file Path to the cache file
     * @param array[] $routes The parsed route definitions
     */
Saves the parsed routes into a cache file.
@param string $file Path to the cache file
@param array[] $routes The parsed route definitions
Saves the parsed routes into a cache file . @param string $file Path to the cache file @param array [] $routes The parsed route definitions
private function saveCache($file, array $routes)
    {
        $php = sprintf('<?php return %s;', var_export($routes, true));
        file_put_contents($file, $php, LOCK_EX);
    }
private function saveCache ( $ file , array $ routes ) { $ php = sprintf ( '<?php return %s;' , var_export ( $ routes , true ) ) ; file_put_contents ( $ file , $ php , LOCK_EX ) ; }
Saves the parsed routes into a cache file.
Saves the parsed routes into a cache file .