getProperty() public static method

Returns the current value of a property.
public static getProperty ( object | string $class, string $name ) : mixed
$class object | string The class instance or name.
$name string The name of a property.
return mixed The current value of the property.
 /**
  * @return ResponseInterface
  */
 protected function getResponse()
 {
     return RestTestingHelper::getProperty(self::getWebApiContext(), 'response');
 }