Lines Matching refs:methodName
149 $methodName = $methodProphecy->getMethodName();
151 if (!isset($this->methodProphecies[$methodName])) {
152 $this->methodProphecies[$methodName] = array();
155 $this->methodProphecies[$methodName][] = $methodProphecy;
161 * @param null|string $methodName
165 public function getMethodProphecies($methodName = null) argument
167 if (null === $methodName) {
171 if (!isset($this->methodProphecies[$methodName])) {
175 return $this->methodProphecies[$methodName];
181 * @param string $methodName
186 public function makeProphecyMethodCall($methodName, array $arguments) argument
189 $return = $this->callCenter->makeCall($this, $methodName, $arguments);
197 * @param string $methodName
202 public function findProphecyMethodCalls($methodName, ArgumentsWildcard $wildcard) argument
204 return $this->callCenter->findCalls($methodName, $wildcard);
235 * @param string $methodName
240 public function __call($methodName, array $arguments) argument
244 foreach ($this->getMethodProphecies($methodName) as $prophecy) {
256 return new MethodProphecy($this, $methodName, $arguments);