* @return string The name of the service behind this VRS object.
*/
public function getName() {
- return isset( $this->params['name'] ) ? $this->params['name'] :
- get_class( $this );
+ return isset( $this->params['name'] ) ? $this->params['name'] : static::class;
}
/**