Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
plantuml-bundle
Commits
d188bf1d
Commit
d188bf1d
authored
Mar 08, 2016
by
Guillaume Perréal
Browse files
Change la direction des flèches d'héritage/implémentation/utilisation de trait.
Ça permet de placer les interfaces en haut.
parent
e9fe5c92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Model/Arrow/ExtendsClass.php
View file @
d188bf1d
...
...
@@ -8,6 +8,8 @@
namespace
Irstea\PlantUmlBundle\Model\Arrow
;
use
Irstea\PlantUmlBundle\Model\UmlNodeInterface
;
/**
* Description of ExtendsClass
*
...
...
@@ -15,8 +17,8 @@ namespace Irstea\PlantUmlBundle\Model\Arrow;
*/
class
ExtendsClass
extends
BaseArrow
{
public
function
__construct
(
\
Irstea\PlantUmlBundle\Model\UmlNodeInterface
$source
,
\
Irstea\PlantUmlBundle\Model\UmlNodeInterface
$target
,
$link
=
"--"
,
$label
=
null
)
public
function
__construct
(
UmlNodeInterface
$source
,
UmlNodeInterface
$target
)
{
parent
::
__construct
(
$
source
,
$target
,
$link
,
$label
);
parent
::
__construct
(
$
target
,
$source
,
"<|--"
);
}
}
Model/Arrow/ImplementsInterface.php
View file @
d188bf1d
...
...
@@ -20,6 +20,6 @@ class ImplementsInterface extends BaseArrow
{
public
function
__construct
(
UmlNodeInterface
$source
,
Interface_
$target
)
{
parent
::
__construct
(
$
source
,
$target
,
"..|>
"
);
parent
::
__construct
(
$
target
,
$source
,
"<|..
"
);
}
}
Model/Arrow/UsesTrait.php
View file @
d188bf1d
...
...
@@ -20,6 +20,6 @@ class UsesTrait extends BaseArrow
{
public
function
__construct
(
UmlNodeInterface
$source
,
Trait_
$trait
)
{
parent
::
__construct
(
$
source
,
$trait
,
"--|>
"
);
parent
::
__construct
(
$
trait
,
$source
,
"<|--
"
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment