Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
3 / 3 |
CRAP | |
100.00% |
5 / 5 |
| ReaderResult | |
100.00% |
1 / 1 |
|
100.00% |
3 / 3 |
3 | |
100.00% |
5 / 5 |
| __construct( $methodName, $propertyName ) | |
100.00% |
1 / 1 |
1 | |
100.00% |
3 / 3 |
|||
| getMethodName() | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| getPropertyName() | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| <?php | |
| /** | |
| * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl> | |
| */ | |
| namespace Team3\PayU\PropertyExtractor\Reader; | |
| /** | |
| * {@inheritdoc} | |
| * | |
| * Class ReaderResult | |
| * @package Team3\PayU\PropertyExtractor\Reader | |
| */ | |
| class ReaderResult implements ReaderResultInterface | |
| { | |
| /** | |
| * @var string | |
| */ | |
| private $methodName; | |
| /** | |
| * @var string | |
| */ | |
| private $propertyName; | |
| /** | |
| * @param string $methodName | |
| * @param string $propertyName | |
| */ | |
| public function __construct( | |
| $methodName, | |
| $propertyName | |
| ) { | |
| $this->methodName = $methodName; | |
| $this->propertyName = $propertyName; | |
| } | |
| /** | |
| * @return string | |
| */ | |
| public function getMethodName() | |
| { | |
| return $this->methodName; | |
| } | |
| /** | |
| * @return string | |
| */ | |
| public function getPropertyName() | |
| { | |
| return $this->propertyName; | |
| } | |
| } |