li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.2.x)
  • lithium
  • net
  • socket
  • Curl
  • __construct()

Contents

  • ../

lithium\net\socket\Curl::__construct()

Overrides lithium\core\ObjectDeprecated::__construct()
public method

Constructor.

Parameters

  • array $config

Returns

void

Source

	public function __construct(array $config = []) {
		$defaults = ['ignoreExpect' => true];
		parent::__construct($config + $defaults);
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

It looks like you're
trying to build an
application with a
badass framework
for PHP.

May I suggest:
- Using li3

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.