if (isset($filtered_service_definition['public'
]) &&
$filtered_service_definition['public'
] === FALSE
) { $services_provided[] =
[ ['foo_service' =>
$definition->
reveal()],
[],
];
continue;
} $services_provided[] =
[ ['foo_service' =>
$definition->
reveal()],
['foo_service' =>
static::
serializeDefinition($filtered_service_definition)],
];
} return $services_provided;
} /**
* Helper function to serialize a definition.
*
* Used to override serialization.
*/