Akeneo\Component\SpreadsheetParser\Xlsx\Spreadsheet::getStyles PHP Method

getStyles() protected method

protected getStyles ( ) : Styles
return Styles
    protected function getStyles()
    {
        if (!$this->styles) {
            $path = $this->archive->extract($this->relationships->getStylesPath());
            $this->styles = $this->stylesLoader->open($path, $this->archive);
        }
        return $this->styles;
    }