BookStack/app/References/ModelResolvers/CrossLinkModelResolver.php
2022-08-29 17:46:41 +01:00

13 lines
234 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;
}