NamespaceInterface.php 825 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
<?php

/*
 * © 2016 IRSTEA
 * Guillaume Perréal <guillaume.perreal@irstea.fr>
 * Tous droits réservés.
 */

namespace Irstea\PlantUmlBundle\Model;

11
12
use Irstea\PlantUmlBundle\Writer\WritableInterface;

13
14
15
16
/**
 *
 * @author Guillaume Perréal <guillaume.perreal@irstea.fr>
 */
17
interface NamespaceInterface extends WritableInterface
18
19
20
21
22
23
24
{
    /**
     * @param string $namespaceName
     * @return NamespaceInterface
     */
    public function getNamespace($namespaceName);

25
26
27
28
29
30
    /**
     * @param string $name
     * @return string
     */
    public function getShortName($name);

31
    /**
32
     * @param NodeInterface $node
33
34
     * @return self
     */
35
    public function addNode(NodeInterface $node);
36
37

    /**
38
     * @param ArrowInterface $arrow
39
40
     * @return self
     */
41
    public function addArrow(ArrowInterface $arrow);
42
}