You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
392 B
21 lines
392 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Serialize;
|
|
|
|
/**
|
|
* Something that can turn a string into a Dom\Document.
|
|
*
|
|
* @author Adam Pippin <hello@adampippin.ca>
|
|
*/
|
|
interface IUnserialize
|
|
{
|
|
/**
|
|
* Convert a string into a Dom\Document.
|
|
*
|
|
* @param string $document
|
|
* @return \App\Dom\Document
|
|
*/
|
|
public function unserialize(string $document): \App\Dom\Document;
|
|
}
|
|
|