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
388 B
21 lines
388 B
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Serialize;
|
|
|
|
/**
|
|
* Something that can turn a Dom\Document into a string.
|
|
*
|
|
* @author Adam Pippin <hello@adampippin.ca>
|
|
*/
|
|
interface ISerialize
|
|
{
|
|
/**
|
|
* Convert a Dom\Document into a serialized string.
|
|
*
|
|
* @param \App\Dom\Document $document
|
|
* @return string
|
|
*/
|
|
public function serialize(\App\Dom\Document $document): string;
|
|
}
|
|
|