• Guillaume Blanchy's avatar
    Updates for working webinterface with new process_commands() · d0fde750
    Guillaume Blanchy authored
    - fix passing sequence with new process_commands
    - update process_commands as json.loads() parse recursively
    - update index.html pseudo-section (+ hover info)
    - comment double info log in run_sequence_async
    - fix update_settings by adding '_settings' to common cmd_id with set_sequence (from http_interface)
    d0fde750
RootNamespace.php 1.13 KiB
<?php
/*
 * © 2016 IRSTEA
 * Guillaume Perréal <guillaume.perreal@irstea.fr>
 * Tous droits réservés.
 */
namespace Irstea\PlantUmlBundle\Model\Namespace_;
use Irstea\PlantUmlBundle\Model\ArrowInterface;
use Irstea\PlantUmlBundle\Writer\WriterInterface;
/**
 * Description of RootNamespace
 * @author Guillaume Perréal <guillaume.perreal@irstea.fr>
class RootNamespace extends AbstractHierachicalNamespace
    /**
     * @var ArrowInterface[]
    private $arrows = [];
    public function addArrow(ArrowInterface $arrow)
        $this->arrows[] = $arrow;
        return $this;
    public function outputTo(WriterInterface $writer)
        $writer->write("set namespaceSeparator .\n");
        $this
            ->outputNodesTo($writer)
            ->outputChildrenTo($writer)
            ->outputArrowsTo($writer);
        return $this;
    protected function outputArrowsTo(WriterInterface $writer)
        foreach ($this->arrows as $arrow) {
            $arrow->outputTo($writer);
        return $this;
    protected function getNamespacePrefix()
        return "";