downgrade to kirby v3
This commit is contained in:
31
vendor/ml/json-ld/DocumentLoaderInterface.php
vendored
Normal file
31
vendor/ml/json-ld/DocumentLoaderInterface.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* (c) Markus Lanthaler <mail@markus-lanthaler.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace ML\JsonLD;
|
||||
|
||||
use ML\JsonLD\Exception\JsonLdException;
|
||||
|
||||
/**
|
||||
* Interface for (remote) document loaders
|
||||
*
|
||||
* @author Markus Lanthaler <mail@markus-lanthaler.com>
|
||||
*/
|
||||
interface DocumentLoaderInterface
|
||||
{
|
||||
/**
|
||||
* Load a (remote) document or context
|
||||
*
|
||||
* @param string $url The URL or path of the document to load.
|
||||
*
|
||||
* @return RemoteDocument The loaded document.
|
||||
*
|
||||
* @throws JsonLdException
|
||||
*/
|
||||
public function loadDocument($url);
|
||||
}
|
||||
Reference in New Issue
Block a user