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

recipientOfSegmentInNetUriPathAsStringIs()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php namespace norsys\score\net\uri\path\segment\converter\toString;
2
3
use norsys\score\{
4
	net\uri\path\segment\converter\toString,
5
	net\uri\path\segment,
6
	php\string\recipient
7
};
8
9
class rfc3986
10
	implements
11
		toString
12
{
13
	function recipientOfSegmentInNetUriPathAsStringIs(segment $segment, 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
		$segment
16
			->recipientOfStringIs(
17
				new recipient\prefix('/', $recipient)
18
			)
19
		;
20
	}
21
}
22