Astrotomic /
stancy
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Astrotomic\Stancy\Contracts; |
||
| 4 | |||
| 5 | use Astrotomic\Stancy\Contracts\Page as PageContract; |
||
| 6 | use Spatie\Sheets\Sheet; |
||
| 7 | |||
| 8 | interface PageFactory |
||
| 9 | { |
||
| 10 | public function make(array $data = [], ?string $page = null): PageContract; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 11 | |||
| 12 | public function makeFromSheet(Sheet $sheet, ?string $page = null): PageContract; |
||
| 13 | |||
| 14 | public function makeFromSheetName(string $collection, string $name, ?string $page = null): PageContract; |
||
| 15 | } |
||
| 16 |