mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-28 21:22:30 +00:00
![Dan Brown](/assets/img/avatar_default.png)
Also re-named/orgranized some files for this, to make them "References" specific instead of a subset of "Util".
13 lines
233 B
PHP
13 lines
233 B
PHP
<?php
|
|
|
|
namespace BookStack\References\ModelResolvers;
|
|
|
|
use BookStack\Model;
|
|
|
|
interface CrossLinkModelResolver
|
|
{
|
|
/**
|
|
* Resolve the given href link value to a model.
|
|
*/
|
|
public function resolve(string $link): ?Model;
|
|
} |