Completed
Push — master ( df5bb2...a0585b )
by Frédéric
03:38
created

rfc3986::recipientOfNetUriPathAsStringIs()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 12
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php namespace norsys\score\net\uri\path\converter\toString;
2
3
use norsys\score\{
4
	net\uri\path,
5
	net\uri\path\converter\toString,
6
	php\string\recipient
7
};
8
9
class rfc3986
10
	implements
11
		toString
12
{
13
	function recipientOfNetUriPathAsStringIs(path $path, recipient $recipient) :void
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
14
	{
15
		$buffer = new recipient\buffer;
16
17
		$path
18
			->recipientOfSegmentInNetUriPathAsStringFromConverterIs(
19
				new path\segment\converter\toString\rfc3986,
20
				$buffer
21
			)
22
		;
23
24
		$buffer->recipientOfStringIs($recipient);
25
	}
26
}
27