downgrade to kirby v3
This commit is contained in:
29
vendor/ml/json-ld/DocumentFactoryInterface.php
vendored
Normal file
29
vendor/ml/json-ld/DocumentFactoryInterface.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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;
|
||||
|
||||
/**
|
||||
* Interface for factories to create DocumentInterface objects
|
||||
*
|
||||
* @see DocumentInterface
|
||||
*
|
||||
* @author Markus Lanthaler <mail@markus-lanthaler.com>
|
||||
*/
|
||||
interface DocumentFactoryInterface
|
||||
{
|
||||
/**
|
||||
* Creates a new document
|
||||
*
|
||||
* @param null|string $iri The document's IRI.
|
||||
*
|
||||
* @return DocumentInterface The document.
|
||||
*/
|
||||
public function createDocument($iri = null);
|
||||
}
|
||||
Reference in New Issue
Block a user