protected function fillOptionsWithValues(array $options)
    {
        return array_merge(
            array_map(
                function ($value) {
                    if (false === is_array($value)) {
                        throw new InvalidTypeException(
                            'Supported options of a service must be an array with a value as first entry, and a flag to tell if the option is required in the second entry.',
                            1459249834
                        );
                    }

                    return $value[0];
                },
                $this->supportedOptions
            ),
            $options
        );
    }
protected function fillOptionsWithValues(array $options)
    {
        return array_merge(
            array_map(
                function ($value) {
                    if (false === is_array($value)) {
                        throw new InvalidTypeException(
                            'Supported options of a service must be an array with a value as first entry, and a flag to tell if the option is required in the second entry.',
                            1459249834
                        );
                    }

                    return $value[0];
                },
                $this->supportedOptions
            ),
            $options
        );
    }
protected function fillOptionsWithValues ( array $ options ) { return array_merge ( array_map ( function ( $ value ) { if ( false === is_array ( $ value ) ) { throw new InvalidTypeException ( 'Supported options of a service must be an array with a value as first entry, and a flag to tell if the option is required in the second entry.' , 1459249834 ) ; } return $ value [ 0 ] ; } , $ this -> supportedOptions ) , $ options ) ; }
Will fill the options of this service with the given values.

@param array $options
@return array
@throws InvalidTypeException
Will fill the options of this service with the given values .