add chapter about data repositories, and start work on perfomance chapter
This commit is contained in:
parent
eb20213b94
commit
9a1f78947b
165 changed files with 14028 additions and 2028 deletions
|
@ -0,0 +1,15 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Lubian\NoFramework\Repository;
|
||||
|
||||
use Lubian\NoFramework\Exception\NotFound;
|
||||
use Lubian\NoFramework\Model\MarkdownPage;
|
||||
|
||||
interface MarkdownPageRepo
|
||||
{
|
||||
/** @return MarkdownPage[] */
|
||||
public function all(): array;
|
||||
|
||||
/** @throws NotFound */
|
||||
public function byName(string $name): MarkdownPage;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue