public function getEncoderService(array $options = [])
	{
		$options = $options ?: $this->getOptions();
		
		if (isset($options[static::OPTION_USE_QUEUE]) && $options[static::OPTION_USE_QUEUE])
		{
			/** @noinspection ExceptionsAnnotatingAndHandlingInspection */
			return new EncoderQueue($this->options[static::OPTION_USE_QUEUE], $options);
		}
		
		/** @noinspection ExceptionsAnnotatingAndHandlingInspection */
		return new Encoder($options);
	}