phpmock\generator\MockFunctionGenerator::__construct PHP Method

__construct() public method

Sets the mock.
public __construct ( Mock $mock )
$mock phpmock\Mock The mock.
    public function __construct(Mock $mock)
    {
        $this->mock = $mock;
        $this->template = new \Text_Template(__DIR__ . "/function.tpl");
    }