PHPUnit_Framework_Assert::getObjectAttribute
Returns the value of an object's attribute.
This also works for attributes that are declared protected or private.
Signature
Parameters
$object
— object$attributeName
— string
Returns
- mixed
Errors/Exceptions
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
2992 - 3038 | CyclomaticComplexity | The method getObjectAttribute() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |