src/CookieJar.php
public function load($file){
        $realPath = realpath($file);

        if (!$realPath || !file_exists($realPath)) {
            throw new FileNotFoundException($realPath);
        }

        $this->cookies = file_get_contents($realPath);     
    }
public function load($file){
        $realPath = realpath($file);

        if (!$realPath || !file_exists($realPath)) {
            throw new FileNotFoundException($realPath);
        }

        $this->cookies = file_get_contents($realPath);     
    }
public function load ( $ file ) { $ realPath = realpath ( $ file ) ; if ( ! $ realPath || ! file_exists ( $ realPath ) ) { throw new FileNotFoundException ( $ realPath ) ; } $ this -> cookies = file_get_contents ( $ realPath ) ; }
Load cookies from file

@param string $file    Path to file
Load cookies from file