getWorksheetPath() public method

Returns the path of a worksheet file inside the xlsx file
public getWorksheetPath ( string $id ) : string
$id string
return string
コード例 #1
0
 public function it_returns_worksheet_paths(Relationships $relationships)
 {
     $relationships->getWorksheetPath(\Prophecy\Argument::type('string'))->will(function ($args) {
         return 'file_' . $args[0];
     });
     $this->getWorksheetPaths($relationships, __DIR__ . '/fixtures/workbook.xml')->shouldReturn(['Worksheet1' => 'file_rId2', 'Worksheet2' => 'file_rId3', 'Worksheet3' => 'file_rId4']);
 }