<?php
namespace Burrow\Tactician;

use League\Tactician\Plugins\NamedCommand\NamedCommand;

interface CommandSerializer
{
    /**
     * @param NamedCommand $command
     * @return string
     */
    public function serialize(NamedCommand $command);

    /**
     * @param  string $serializedObject
     * @return NamedCommand
     */
    public function deserialize($serializedObject);
}

<?php
namespace Burrow\Tactician;

use League\Tactician\Plugins\NamedCommand\NamedCommand;

interface CommandSerializer
{
    /**
     * @param NamedCommand $command
     * @return string
     */
    public function serialize(NamedCommand $command);
}

Remove non required method in interface
Remove non required method in interface
