protected function addAliases($aliases)
    {
        if ($aliases == null) {
            return;
        }
        foreach ($aliases as $alias => $aliasClass) {
            $this->output->writeln('<info>Adding '.$aliasClass.' to Laravel config app.php file</info>');
            $this->addAlias("'$alias' => ".$aliasClass);
        }
    }
protected function addAliases($aliases)
    {
        if ($aliases == null) {
            return;
        }
        foreach ($aliases as $alias => $aliasClass) {
            $this->output->writeln('<info>Adding '.$aliasClass.' to Laravel config app.php file</info>');
            $this->addAlias("'$alias' => ".$aliasClass);
        }
    }
protected function addAliases ( $ aliases ) { if ( $ aliases == null ) { return ; } foreach ( $ aliases as $ alias => $ aliasClass ) { $ this -> output -> writeln ( '<info>Adding ' . $ aliasClass . ' to Laravel config app.php file</info>' ) ; $ this -> addAlias ( "'$alias' => " . $ aliasClass ) ; } }
Add aliases to Laravel config file.

@param $aliases
Add aliases to Laravel config file .