Oara\Curl\Access::__construct PHP Method

__construct() public method

\Oara\Curl\Access constructor.
public __construct ( $credentials )
$credentials
    public function __construct($credentials)
    {
        $this->createCookieDir($credentials);
        //Default Options Values;
        $this->_options = array(CURLOPT_USERAGENT => "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0", CURLOPT_RETURNTRANSFER => true, CURLOPT_FAILONERROR => true, CURLOPT_COOKIESESSION => false, CURLOPT_COOKIEJAR => $this->_cookiePath, CURLOPT_COOKIEFILE => $this->_cookiePath, CURLOPT_HTTPAUTH => CURLAUTH_ANY, CURLOPT_AUTOREFERER => true, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_HEADER => false, CURLOPT_VERBOSE => false, CURLOPT_FOLLOWLOCATION => true);
    }