/home/techb158/ileadtechnology.com/vendor/mockery/mockery/library/Mockery
NameSizeModeActions
Adapter/-0755rm
CountValidator/-0755rm
Exception/-0755rm
Generator/-0755rm
Loader/-0755rm
Matcher/-0755rm
ClosureWrapper.php10180644editdlrm
CompositeExpectation.php40010644editdlrm
Configuration.php55980644editdlrm
Container.php160340644editdlrm
Exception.php7570644editdlrm
Expectation.php229080644editdlrm
ExpectationDirector.php57020644editdlrm
ExpectationInterface.php10870644editdlrm
ExpectsHigherOrderMessage.php10840644editdlrm
HigherOrderMessage.php13290644editdlrm
Instantiator.php49070644editdlrm
LegacyMockInterface.php61100644editdlrm
MethodCall.php10330644editdlrm
Mock.php285230644editdlrm
MockInterface.php12590644editdlrm
ReceivedMethodCalls.php13220644editdlrm
Reflector.php98680644editdlrm
Undefined.php11620644editdlrm
VerificationDirector.php31210644editdlrm
VerificationExpectation.php9580644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/mockery/mockery/library/Mockery/CompositeExpectation.php (4001B)
_expectations[] = $expectation; } /** * @param mixed ...$args */ public function andReturn(...$args) { return $this->__call(__FUNCTION__, $args); } /** * Set a return value, or sequential queue of return values * * @param mixed ...$args * @return self */ public function andReturns(...$args) { return call_user_func_array([$this, 'andReturn'], $args); } /** * Intercept any expectation calls and direct against all expectations * * @param string $method * @param array $args * @return self */ public function __call($method, array $args) { foreach ($this->_expectations as $expectation) { call_user_func_array(array($expectation, $method), $args); } return $this; } /** * Return order number of the first expectation * * @return int */ public function getOrderNumber() { reset($this->_expectations); $first = current($this->_expectations); return $first->getOrderNumber(); } /** * Return the parent mock of the first expectation * * @return \Mockery\MockInterface|\Mockery\LegacyMockInterface */ public function getMock() { reset($this->_expectations); $first = current($this->_expectations); return $first->getMock(); } /** * Mockery API alias to getMock * * @return \Mockery\LegacyMockInterface|\Mockery\MockInterface */ public function mock() { return $this->getMock(); } /** * Starts a new expectation addition on the first mock which is the primary * target outside of a demeter chain * * @param mixed ...$args * @return \Mockery\Expectation */ public function shouldReceive(...$args) { reset($this->_expectations); $first = current($this->_expectations); return call_user_func_array(array($first->getMock(), 'shouldReceive'), $args); } /** * Starts a new expectation addition on the first mock which is the primary * target outside of a demeter chain * * @param mixed ...$args * @return \Mockery\Expectation */ public function shouldNotReceive(...$args) { reset($this->_expectations); $first = current($this->_expectations); return call_user_func_array(array($first->getMock(), 'shouldNotReceive'), $args); } /** * Return the string summary of this composite expectation * * @return string */ public function __toString() { $return = '['; $parts = array(); foreach ($this->_expectations as $exp) { $parts[] = (string) $exp; } $return .= implode(', ', $parts) . ']'; return $return; } }