original_string: protected function getMediaRelativePath($path)
      {
          $path = self::validatePath($path, true);
  
          if (substr($path, 0, $this->storageFolderNameLength) == $this->storageFolder) {
              return substr($path, $this->storageFolderNameLength);
          }
  
          throw new SystemException(sprintf('Cannot convert Media Library path "%s" to a path relative to the Library root.', $path));
      }
code: protected function getMediaRelativePath($path)
      {
          $path = self::validatePath($path, true);
  
          if (substr($path, 0, $this->storageFolderNameLength) == $this->storageFolder) {
              return substr($path, $this->storageFolderNameLength);
          }
  
          throw new SystemException(sprintf('Cannot convert Media Library path "%s" to a path relative to the Library root.', $path));
      }
code_tokens: protected function getMediaRelativePath ( $ path ) { $ path = self :: validatePath ( $ path , true ) ; if ( substr ( $ path , 0 , $ this -> storageFolderNameLength ) == $ this -> storageFolder ) { return substr ( $ path , $ this -> storageFolderNameLength ) ; } throw new SystemException ( sprintf ( 'Cannot convert Media Library path "%s" to a path relative to the Library root.' , $ path ) ) ; }
docstring: Returns path relative to the Library root folder.
  @param string $path Specifies a path relative to the Library disk root.
  @return string Returns the updated path.
docstring_tokens: Returns path relative to the Library root folder .