src/Sp/FixtureDumper/Converter/Handler/HandlerRegistry.php
public function addSubscribingHandler(HandlerSubscriberInterface $handler)
    {
        $methods = $handler->getSubscribedMethods();

        foreach ($methods as $method) {
            if (!isset($method['format'], $method['type'], $method['method'])) {
                throw new \RuntimeException(sprintf('For each subscribing method a "type", "format" and "method" attribute must be given, but only got "%s" for %s.', implode('" and "', array_keys($method)), get_class($handler)));
            }

            $this->addHandler($method['type'], $method['format'], array($handler, $method['method']));
        }
    }
public function addSubscribingHandler(HandlerSubscriberInterface $handler)
    {
        $methods = $handler->getSubscribedMethods();

        foreach ($methods as $method) {
            if (!isset($method['format'], $method['type'], $method['method'])) {
                throw new \RuntimeException(sprintf('For each subscribing method a "type", "format" and "method" attribute must be given, but only got "%s" for %s.', implode('" and "', array_keys($method)), get_class($handler)));
            }

            $this->addHandler($method['type'], $method['format'], array($handler, $method['method']));
        }
    }
{@inheritdoc}