public function processCommand($type, ...$arguments)
    {
        $name = array_shift($arguments);
        $template = $this->fetch($type);
        if ($template) {
            $this->addDependency($name, $template);
        } else {
            throw new \Exception('Invalid dependency command.');
        }
    }
public function processCommand($type, ...$arguments)
    {
        $name = array_shift($arguments);
        $template = $this->fetch($type);
        if ($template) {
            $this->addDependency($name, $template);
        } else {
            throw new \Exception('Invalid dependency command.');
        }
    }
{@inheritdoc}