public function validatePreset(Preset $preset)
    {
        foreach ($preset->getOptions() as $key => $value) {
            if (!isset($this->handbrake_conversion[$key])) {
                throw new \InvalidArgumentException(sprintf("Unknown input argument {%s} in adapter {%s}.", $key, $this->getKey()));
            }
        }
    }
public function validatePreset(Preset $preset)
    {
        foreach ($preset->getOptions() as $key => $value) {
            if (!isset($this->handbrake_conversion[$key])) {
                throw new \InvalidArgumentException(sprintf("Unknown input argument {%s} in adapter {%s}.", $key, $this->getKey()));
            }
        }
    }
public function validatePreset ( Preset $ preset ) { foreach ( $ preset -> getOptions ( ) as $ key => $ value ) { if ( ! isset ( $ this -> handbrake_conversion [ $ key ] ) ) { throw new \ InvalidArgumentException ( sprintf ( "Unknown input argument {%s} in adapter {%s}." , $ key , $ this -> getKey ( ) ) ) ; } } }
Check that given keys have actual handbrake equivalents

{@inheritdoc}
Check that given keys have actual handbrake equivalents