src/ConfigResolver.php
public function resolve(): array
    {
        $file = sprintf($this->template, $this->typeResolver->resolve());

        if (!file_exists($file)) {
            $file = sprintf($this->template, 'default');
        }

        return json_decode(file_get_contents($file), true);
    }
public function resolve(): array
    {
        $file = sprintf($this->template, $this->typeResolver->resolve());

        if (!file_exists($file)) {
            $file = sprintf($this->template, 'default');
        }

        return json_decode(file_get_contents($file), true);
    }
public function resolve ( ) : array { $ file = sprintf ( $ this -> template , $ this -> typeResolver -> resolve ( ) ) ; if ( ! file_exists ( $ file ) ) { $ file = sprintf ( $ this -> template , 'default' ) ; } return json_decode ( file_get_contents ( $ file ) , true ) ; }
Resolve config.

@return array
Resolve config .