MCPcopy Create free account
hub / github.com/Rello/analytics / __construct

Method __construct

tests/Datasource/LocalSpreadsheetTest.php:22–22  ·  view source on GitHub ↗
(private string $path)

Source from the content-addressed store, hash-verified

20 $file->method('getInternalPath')->willReturn('book.xlsx');
21 $file->method('getStorage')->willReturn(new class($path) {
22 public function __construct(private string $path) {}
23 public function getLocalFile(string $internalPath): string { return $this->path; }
24 });
25 $folder = new class($file) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected