official::recipientOfPhpNamespaceAsStringIs()   A
last analyzed

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\php\aNamespace\converter\toString;
2
3
use norsys\score\php\{
4
	identifier,
5
	aNamespace\converter\toString,
6
	aNamespace,
7
	string\recipient
8
};
9
10
class official
11
	implements
12
		toString
13
{
14
	function recipientOfPhpNamespaceAsStringIs(aNamespace $namespace, 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...
15
	{
16
		$buffer = new recipient\buffer\prefix\provider(new aNamespace\separator\official);
17
18
		$namespace
19
			->recipientOfIdentifierFromToStringConverterIs(
20
				new identifier\converter\toString\raw,
21
				$buffer
22
			)
23
		;
24
25
		$buffer->recipientOfStringIs($recipient);
26
	}
27
}
28