PHPUnit_Framework_Assert::readAttribute
Returns the value of an attribute of a class or an object.
This also works for attributes that are declared protected or private.
Signature
public function readAttribute(mixed
$classOrObject,
string
$attributeName )
Parameters
$classOrObject
— mixed$attributeName
— string
Returns
- mixed