src/Charcoal/Model/Service/MetadataConfig.php
public function defaults($key = null)
    {
        $data = [
            'paths' => [],
            'cache' => true,
        ];

        if ($key) {
            return isset($data[$key]) ? $data[$key] : null;
        }

        return $data;
    }
public function defaults($key = null)
    {
        $data = [
            'paths' => [],
            'cache' => true,
        ];

        if ($key) {
            return isset($data[$key]) ? $data[$key] : null;
        }

        return $data;
    }
public function defaults ( $ key = null ) { $ data = [ 'paths' => [ ] , 'cache' => true , ] ; if ( $ key ) { return isset ( $ data [ $ key ] ) ? $ data [ $ key ] : null ; } return $ data ; }
Retrieve the default values.

@param  string|null $key Optional data key to retrieve.
@return mixed An associative array if $key is NULL.
If $key is specified, the value of that data key if it exists, NULL on failure.
Retrieve the default values .