mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-14 05:22:02 +00:00
344b3a3615
For the start of a managed cross-linking system.
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;
|
|
} |