Issues (54)

src/Contracts/PageFactory.php (1 issue)

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
Method \Astrotomic\Stancy\Contracts\PageFactory::make() does not have @param annotation for its traversable parameter $data.
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