public function getArrayCopy()
{
$array = ['accept_whitelist' => $this->acceptWhitelist, 'content_type_whitelist' => $this->contentTypeWhitelist, 'controller_service_name' => $this->controllerServiceName, 'http_methods' => $this->httpMethods, 'route_match' => $this->routeMatch, 'route_name' => $this->routeName, 'selector' => $this->selector, 'service_name' => $this->serviceName];
if (null !== $this->inputFilters) {
$array['input_filters'] = $this->inputFilters;
}
if (null !== $this->documentation) {
$array['documentation'] = $this->documentation;
}
if (null !== $this->controllerClass) {
$array['controller_class'] = $this->controllerClass;
}
return $array;
}