container = $container; } public function create(bool $skipAcl = false) { return new Htmlizer( $this->container->get('fileManager'), $this->container->get('dateTime'), $this->container->get('number'), !$skipAcl ? $this->container->get('acl') : null, $this->container->get('entityManager'), $this->container->get('metadata'), $this->container->get('defaultLanguage'), $this->container->get('config'), $this->container->get('serviceFactory') ); } }