private function resolveContext(array $context)
    {
        $defaultOptions = [
            self::OPTION_EXCEPTION_ON_INVALID_TYPE => $this->exceptionOnInvalidType,
            self::OPTION_OBJECT                    => $this->object,
            self::OPTION_OBJECT_FOR_MAP            => $this->objectForMap,
            self::OPTION_DATE_TIME                 => $this->dateTime,
        ];

        return array_merge($defaultOptions, $context);
    }
private function resolveContext(array $context)
    {
        $defaultOptions = [
            self::OPTION_EXCEPTION_ON_INVALID_TYPE => $this->exceptionOnInvalidType,
            self::OPTION_OBJECT                    => $this->object,
            self::OPTION_OBJECT_FOR_MAP            => $this->objectForMap,
            self::OPTION_DATE_TIME                 => $this->dateTime,
        ];

        return array_merge($defaultOptions, $context);
    }
private function resolveContext ( array $ context ) { $ defaultOptions = [ self :: OPTION_EXCEPTION_ON_INVALID_TYPE => $ this -> exceptionOnInvalidType , self :: OPTION_OBJECT => $ this -> object , self :: OPTION_OBJECT_FOR_MAP => $ this -> objectForMap , self :: OPTION_DATE_TIME => $ this -> dateTime , ] ; return array_merge ( $ defaultOptions , $ context ) ; }
Merges the default options of the Yaml Decoder with the passed context.

@param array $context

@return array
Merges the default options of the Yaml Decoder with the passed context .