$value ) { if ( $merge && isset( $this->options[$key] ) && is_array( $value ) && is_array( $this->options[$key] ) ) { $value = array_merge( $this->options[$key], $value ); } $this->options[$key] = $value; } } /** * @since 3.0 * * @param string $file * * @return string|false * @throws RuntimeException */ public function readFile( $file ) { if ( $file === false ) { return false; } $file = str_replace( [ '\\', '/' ], DIRECTORY_SEPARATOR, realpath( $file ) ); if ( is_readable( $file ) ) { return file_get_contents( $file ); } throw new RuntimeException( "$file is inaccessible!" ); } }