private function getServiceLocatorWithDynamicParameters(TypeContext $context, string $tagName, string $tagBody): array
    {
        $locator = array_merge(
            $this->serviceLocator,
            [
                'name' => $tagName,
                'body' => $tagBody,
                TypeContext::class => $context,
            ]
        );

        return $locator;
    }
private function getServiceLocatorWithDynamicParameters(TypeContext $context, string $tagName, string $tagBody): array
    {
        $locator = array_merge(
            $this->serviceLocator,
            [
                'name' => $tagName,
                'body' => $tagBody,
                TypeContext::class => $context,
            ]
        );

        return $locator;
    }
private function getServiceLocatorWithDynamicParameters ( TypeContext $ context , string $ tagName , string $ tagBody ) : array { $ locator = array_merge ( $ this -> serviceLocator , [ 'name' => $ tagName , 'body' => $ tagBody , TypeContext :: class => $ context , ] ) ; return $ locator ; }
Returns a copy of this class' Service Locator with added dynamic parameters, such as the tag's name, body and
Context.

@param TypeContext $context The Context (namespace and aliasses) that may be passed and is used to resolve FQSENs.
@param string      $tagName The name of the tag that may be passed onto the factory method of the Tag class.
@param string      $tagBody The body of the tag that may be passed onto the factory method of the Tag class.

@return mixed[]
Returns a copy of this class Service Locator with added dynamic parameters such as the tag s name body and Context .