src/Command/Project/DotenvReload.php
public function projectDotenvReload($envPath = '.env', $opts = ['format' => 'table', 'fields' => ''])
    {
        // Reload
        $result = $this->taskDotenvReload()
            ->path($envPath)
            ->run();

        if (!$result->wasSuccessful()) {
            $this->exitError("Failed to run command");
        }

        return new PropertyList($result->getData());
    }
public function projectDotenvReload($envPath = '.env', $opts = ['format' => 'table', 'fields' => ''])
    {
        // Reload
        $result = $this->taskDotenvReload()
            ->path($envPath)
            ->run();

        if (!$result->wasSuccessful()) {
            $this->exitError("Failed to run command");
        }

        return new PropertyList($result->getData());
    }
public function projectDotenvReload ( $ envPath = '.env' , $ opts = [ 'format' => 'table' , 'fields' => '' ] ) { // Reload $ result = $ this -> taskDotenvReload ( ) -> path ( $ envPath ) -> run ( ) ; if ( ! $ result -> wasSuccessful ( ) ) { $ this -> exitError ( "Failed to run command" ) ; } return new PropertyList ( $ result -> getData ( ) ) ; }
Reload environment from given dotenv file

@param string $envPath Path to dotenv file
@option string $format Output format (table, list, csv, json, xml)
@option string $fields Limit output to given fields, comma-separated

@return PropertyList result
Reload environment from given dotenv file