private function invalidIdentifierTypeErrorMessage(string $method, $id): string
    {
        $tpl = 'Argument 1 passed to %s::%s method must be of the type string, %s given';

        return sprintf($tpl, Container::class, $method, gettype($id));
    }
private function invalidIdentifierTypeErrorMessage(string $method, $id): string
    {
        $tpl = 'Argument 1 passed to %s::%s method must be of the type string, %s given';

        return sprintf($tpl, Container::class, $method, gettype($id));
    }
private function invalidIdentifierTypeErrorMessage ( string $ method , $ id ) : string { $ tpl = 'Argument 1 passed to %s::%s method must be of the type string, %s given' ; return sprintf ( $ tpl , Container :: class , $ method , gettype ( $ id ) ) ; }
Return the message of the exception thrown when an identifier is not a
string.

@param string    $method
@param mixed     $id
@return string
Return the message of the exception thrown when an identifier is not a string .