Schedule/ProcessorRegistry.php
public function get($type)
    {
        if(!array_key_exists($type, $this->registry))
        {
            throw new \InvalidArgumentException(sprintf('A processor for type "%s" is not registered', $type));
        }

        return $this->registry[$type];
    }
public function get($type)
    {
        if(!array_key_exists($type, $this->registry))
        {
            throw new \InvalidArgumentException(sprintf('A processor for type "%s" is not registered', $type));
        }

        return $this->registry[$type];
    }
{@inheritDoc}