public function __construct(GoogleApi $api, EngineInterface $templating) { $this->api = $api; $this->api->setBackoffsCount(10); $this->templating = $templating; }