public function getBuildConnections()
    {
        if (null === $this->buildConnections) {
            $connectionNames = $this->get()['generator']['connections'];

            $reverseConnection = $this->getConfigProperty('reverse.connection');
            if (null !== $reverseConnection && !in_array($reverseConnection, $connectionNames)) {
                $connectionNames[] = $reverseConnection;
            }

            foreach ($connectionNames as $name) {
                if ($definition = $this->getConfigProperty('database.connections.' . $name)) {
                    $this->buildConnections[$name] = $definition;
                }
            }
        }

        return $this->buildConnections;
    }
public function getBuildConnections()
    {
        if (null === $this->buildConnections) {
            $connectionNames = $this->get()['generator']['connections'];

            $reverseConnection = $this->getConfigProperty('reverse.connection');
            if (null !== $reverseConnection && !in_array($reverseConnection, $connectionNames)) {
                $connectionNames[] = $reverseConnection;
            }

            foreach ($connectionNames as $name) {
                if ($definition = $this->getConfigProperty('database.connections.' . $name)) {
                    $this->buildConnections[$name] = $definition;
                }
            }
        }

        return $this->buildConnections;
    }
public function getBuildConnections ( ) { if ( null === $ this -> buildConnections ) { $ connectionNames = $ this -> get ( ) [ 'generator' ] [ 'connections' ] ; $ reverseConnection = $ this -> getConfigProperty ( 'reverse.connection' ) ; if ( null !== $ reverseConnection && ! in_array ( $ reverseConnection , $ connectionNames ) ) { $ connectionNames [ ] = $ reverseConnection ; } foreach ( $ connectionNames as $ name ) { if ( $ definition = $ this -> getConfigProperty ( 'database.connections.' . $ name ) ) { $ this -> buildConnections [ $ name ] = $ definition ; } } } return $ this -> buildConnections ; }
Return an array of all configured connection properties, from `generator` and `reverse`
sections of the configuration.

@return array
Return an array of all configured connection properties from generator and reverse sections of the configuration .