100) { throw new InvalidArgumentException( "trustLevel must be in [0,100]; got {$trustLevel}", ); } if ($targetEntity === '') { throw new InvalidArgumentException('targetEntity must not be empty'); } if ($targetAttribute === '') { throw new InvalidArgumentException('targetAttribute must not be empty'); } } }