src/Options/Compose.php
public function getOption($value)
	{
		if(!in_array(strtolower($value), $this->allowedOptions, true))
		{
			throw new InvalidOptionValueException('Invalid $value argument "' . $value . '", allowed values: '
			                                      . implode(', ', $this->allowedOptions));
		}
		
		return '-compose ' . strtolower($value) . ' ';
	}
public function getOption($value)
	{
		if(!in_array(strtolower($value), $this->allowedOptions, true))
		{
			throw new InvalidOptionValueException('Invalid $value argument "' . $value . '", allowed values: '
			                                      . implode(', ', $this->allowedOptions));
		}
		
		return '-compose ' . strtolower($value) . ' ';
	}
Returns a prepared compose options string.

@param string $value Expected option value.

@link http://www.imagemagick.org/script/compose.php

@return string
@throws \ImageMagick\Exceptions\InvalidOptionValueException