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