Created
March 18, 2015 20:05
-
-
Save fesor/1a6203a35ad8f4cdfa41 to your computer and use it in GitHub Desktop.
Prophet generated class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Double\Wings; | |
| class P1 extends Wings implements ProphecyProphecyProphecySubjectInterface, ProphecyDoublerGeneratorReflectionInterface | |
| { | |
| private $objectProphecy; | |
| public function swing() | |
| { | |
| return $this->getProphecy()->makeProphecyMethodCall(__FUNCTION__, func_get_args()); | |
| } | |
| public function __construct() | |
| { | |
| } | |
| public function __call($name, $arguments) | |
| { | |
| throw new ProphecyExceptionDoublerMethodNotFoundException( | |
| sprintf('Method `%s::%s()` not found.', get_class($this) , func_get_arg(0)), | |
| $this->getProphecy(), | |
| func_get_arg(0) | |
| ); | |
| } | |
| public function setProphecy(ProphecyProphecyProphecyInterface $prophecy) | |
| { | |
| $this->objectProphecy = $prophecy; | |
| } | |
| public function getProphecy() | |
| { | |
| return $this->objectProphecy; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment