public function open($path, Archive $archive) { return new $this->class($path, $archive); }
/** * @return Styles */ protected function getStyles() { if (!$this->styles) { $path = $this->archive->extract($this->relationships->getStylesPath()); $this->styles = $this->stylesLoader->open($path); } return $this->styles; }