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

rfc3986   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 9
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A recipientOfNetUriPathAsStringIs() 0 12 1
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