mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-07-17 08:42:23 +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;
|
|
} |