public function __construct(FixtureWithFlagsInterface $fixture) { $this->fixture = clone $fixture; $this->templating = new Templating($fixture); }