any::keyValueSerializerIs()   A
last analyzed

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 1
1
<?php namespace norsys\score\composer\fs\path;
2
3
use norsys\score\composer\{ fs\path, part\text\any as text };
4
use norsys\score\fs\path\unix;
5
use norsys\score\serializer\keyValue as serializer;
6
use norsys\score\php\string\recipient;
7
8
class any extends unix\relative\filename
9
	implements
10
		path
11
{
12
	function __construct(filename... $filenames)
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...
13
	{
14
		parent::__construct(... $filenames);
15
	}
16
17
	function keyValueSerializerIs(serializer $serializer) :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...
18
	{
19
		$this->recipientOfStringIs(
20
			new serializer\string\recipient(
21
				$serializer
22
			)
23
		);
24
	}
25
}
26