File tree 2 files changed +10
-10
lines changed
spec/drupol/phptree/Exporter
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace spec \drupol \phptree \Exporter ;
6
6
7
- use drupol \phptree \Exporter \GvConvert ;
7
+ use drupol \phptree \Exporter \Image ;
8
8
use drupol \phptree \Node \ValueNode ;
9
9
use PhpSpec \ObjectBehavior ;
10
10
11
- class GvConvertSpec extends ObjectBehavior
11
+ class ImageSpec extends ObjectBehavior
12
12
{
13
13
public function it_can_convert_a_tree_into_a_file ()
14
14
{
@@ -50,7 +50,7 @@ public function it_can_set_and_get_the_format()
50
50
}
51
51
public function it_is_initializable ()
52
52
{
53
- $ this ->shouldHaveType (GvConvert ::class);
53
+ $ this ->shouldHaveType (Image ::class);
54
54
55
55
$ this
56
56
->getExecutable ()
Original file line number Diff line number Diff line change 7
7
use drupol \phptree \Node \NodeInterface ;
8
8
9
9
/**
10
- * Class GvConvert .
10
+ * Class Image .
11
11
*/
12
- class GvConvert extends Gv
12
+ class Image extends Gv
13
13
{
14
14
/**
15
15
* @var string
@@ -21,7 +21,7 @@ class GvConvert extends Gv
21
21
private $ format = 'svg ' ;
22
22
23
23
/**
24
- * GvDisplay constructor.
24
+ * Image constructor.
25
25
*/
26
26
public function __construct ()
27
27
{
@@ -71,9 +71,9 @@ public function getFormat(): string
71
71
*
72
72
* @param string $executable
73
73
*
74
- * @return \drupol\phptree\Exporter\GvConvert
74
+ * @return \drupol\phptree\Exporter\Image
75
75
*/
76
- public function setExecutable (string $ executable ): GvConvert
76
+ public function setExecutable (string $ executable ): Image
77
77
{
78
78
$ this ->executable = $ executable ;
79
79
@@ -83,9 +83,9 @@ public function setExecutable(string $executable): GvConvert
83
83
/**
84
84
* @param string $format
85
85
*
86
- * @return \drupol\phptree\Exporter\GvConvert
86
+ * @return \drupol\phptree\Exporter\Image
87
87
*/
88
- public function setFormat (string $ format ): GvConvert
88
+ public function setFormat (string $ format ): Image
89
89
{
90
90
$ this ->format = $ format ;
91
91
You can’t perform that action at this time.
0 commit comments