InvoiceFilter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 13
c 1
b 0
f 0
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 4 1
1
<?php
2
3
namespace App\Services\Filters;
4
5
use Nette\Object;
6
7
class InvoiceFilter extends Object
8
{
9
10
	/**
11
	 * @param  integer $value
12
	 * @return string
13
	 */
14
	public function __invoke($value)
15
	{
16
		return sprintf("%03d", $value);
17
	}
18
19
}
20