mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-14 23:23:37 +08:00
13 lines
240 B
PHP
13 lines
240 B
PHP
|
<?php
|
||
|
|
||
|
namespace BookStack\Util\CrossLinking\ModelResolvers;
|
||
|
|
||
|
use BookStack\Model;
|
||
|
|
||
|
interface CrossLinkModelResolver
|
||
|
{
|
||
|
/**
|
||
|
* Resolve the given href link value to a model.
|
||
|
*/
|
||
|
public function resolve(string $link): ?Model;
|
||
|
}
|