MethodNameGenerator::getQualifiedMethodName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace Kir\FakePDO\Tools;
3
4
class MethodNameGenerator {
5
	/** @var string */
6
	private $className = null;
7
8
	/**
9
	 * @param string $className
10
	 */
11
	public function __construct($className) {
12
		$this->className = $className;
13
	}
14
15
	/**
16
	 * @param string $methodName
17
	 * @return string
18
	 */
19
	public function getQualifiedMethodName($methodName) {
20
		return "{$this->className}::{$methodName}";
21
	}
22
}
23