TranslateNode   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 4 1
1
<?php
2
3
namespace Patron;
4
5
use ICanBoogie\I18n;
6
7
class TranslateNode extends ExpressionNode
8
{
9
	protected function render($expression)
10
	{
11
		return I18n\t($expression);
12
	}
13
}
14