Akeneo\Component\SpreadsheetParser\Xlsx\Relationships::getStylesPath PHP Method

getStylesPath() public method

Returns the path of the styles XML file inside the xlsx file
public getStylesPath ( ) : string
return string
    public function getStylesPath()
    {
        return $this->stylePath;
    }

Usage Example

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