src/Config.php
/**
     * Load the configuration from file.
     *
     * @return self
     */
Load the configuration from file.
@return self
Load the configuration from file . @return self
public function load(): self
    {
        $config = is_file($file = $this->file()) ? json_decode((string) file_get_contents($file), true) : [];
        $this->data = array_merge($this->data, $config);
        return $this;
    }
public function load ( ) : self { $ config = is_file ( $ file = $ this -> file ( ) ) ? json_decode ( ( string ) file_get_contents ( $ file ) , true ) : [ ] ; $ this -> data = array_merge ( $ this -> data , $ config ) ; return $ this ; }
Load the configuration from file.
Load the configuration from file .