li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.3.x)
  • lithium
  • test
  • MockerChain
  • __construct()

Contents

  • ../

lithium\test\MockerChain::__construct()

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

Constructor. Saves the results from the mock.

Parameters

  • array $results

    Results from the mock

Returns

void

Source

	public function __construct($results) {
		$this->_data['results'] = $results;
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

I wouldn't use it, but…
it's pretty rad.

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