src/Hpkns/FrontMatter/Parser.php
protected function fillDefault(array $parsed, array $default = [])
    {
        foreach($default as $key => $value)
        {
            if( ! isset($parsed[$key]))
            {
                $parsed[$key] = $value;
            }
        }

        return $parsed;
    }
protected function fillDefault(array $parsed, array $default = [])
    {
        foreach($default as $key => $value)
        {
            if( ! isset($parsed[$key]))
            {
                $parsed[$key] = $value;
            }
        }

        return $parsed;
    }
protected function fillDefault ( array $ parsed , array $ default = [ ] ) { foreach ( $ default as $ key => $ value ) { if ( ! isset ( $ parsed [ $ key ] ) ) { $ parsed [ $ key ] = $ value ; } } return $ parsed ; }
Add default value to key that are not defined in the front matter

@param  array $parsed
@param  array $default
@return array
Add default value to key that are not defined in the front matter