NodeInterface.php 806 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\WritableNodeInterface;

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

25
26
27
28
29
    /**
     * @param ArrowInterface $arrow
     * @return self
     */
    public function addArrow(ArrowInterface $arrow);
30
31
32
33
34
35
36
37
38
39
40
41

    /**
     * @param string $classifier
     * @return string
     */
    public function addClassifier($classifier);

    /**
     * @param string $stereotype
     * @return string
     */
    public function addStereotype($stereotype);
42
}