UsesTrait.php 550 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
<?php

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

namespace Irstea\PlantUmlBundle\Model\Arrow;

use Irstea\PlantUmlBundle\Model\Node\Trait_;
12
use Irstea\PlantUmlBundle\Writer\WritableNodeInterface;
13
14
15
16
17
18
19
20

/**
 * Description of UseTrait
 *
 * @author Guillaume Perréal <guillaume.perreal@irstea.fr>
 */
class UsesTrait extends BaseArrow
{
21
    public function __construct(WritableNodeInterface $source, Trait_ $trait)
22
    {
23
        parent::__construct($trait, $source, "--", null, "<|");
24
25
    }
}