src/Maybe.php
private function initProphecyReturnValues() {
		$reflection = new \Maybe\Util\Reflection($this->classname);
		
		$returnTypes = $reflection->getReturnTypes();
		foreach ($returnTypes as $method => $type) {
			$this->initProphecyReturnValueForMethod($method, $type);
		}
	}
private function initProphecyReturnValues() {
		$reflection = new \Maybe\Util\Reflection($this->classname);
		
		$returnTypes = $reflection->getReturnTypes();
		foreach ($returnTypes as $method => $type) {
			$this->initProphecyReturnValueForMethod($method, $type);
		}
	}
private function initProphecyReturnValues ( ) { $ reflection = new \ Maybe \ Util \ Reflection ( $ this -> classname ) ; $ returnTypes = $ reflection -> getReturnTypes ( ) ; foreach ( $ returnTypes as $ method => $ type ) { $ this -> initProphecyReturnValueForMethod ( $ method , $ type ) ; } }
Tries to set a coherent return value for each of the faked method, using
Reflection API.
Tries to set a coherent return value for each of the faked method using Reflection API .