BookStack/app/References/ModelResolvers/CrossLinkModelResolver.php
2023-05-17 17:56:55 +01:00

14 lines
238 B
PHP

<?php
namespace BookStack\References\ModelResolvers;
use BookStack\App\Model;
interface CrossLinkModelResolver
{
/**
* Resolve the given href link value to a model.
*/
public function resolve(string $link): ?Model;
}