15 lines
260 B
PHP
15 lines
260 B
PHP
|
<?php
|
||
|
|
||
|
namespace PhpParser;
|
||
|
|
||
|
interface Serializer
|
||
|
{
|
||
|
/**
|
||
|
* Serializes statements into some string format.
|
||
|
*
|
||
|
* @param array $nodes Statements
|
||
|
*
|
||
|
* @return string Serialized string
|
||
|
*/
|
||
|
public function serialize(array $nodes);
|
||
|
}
|