public function getConnectorsAsArray()
    {
        // Iterate over the connectors nodes and sort them into an array
        $connectors = array();
        /** @var \AppserverIo\Appserver\Core\Api\Node\ConnectorNode $connectorNode */
        foreach ($this->getConnectors() as $connectorNode) {
            // Restructure to an array
            $connectors[] = array(
                'name' => $connectorNode->getName(),
                'type' => $connectorNode->getType(),
                'params' => $connectorNode->getParamsAsArray()
            );
        }

        // Return what we got
        return $connectors;
    }
public function getConnectorsAsArray()
    {
        // Iterate over the connectors nodes and sort them into an array
        $connectors = array();
        /** @var \AppserverIo\Appserver\Core\Api\Node\ConnectorNode $connectorNode */
        foreach ($this->getConnectors() as $connectorNode) {
            // Restructure to an array
            $connectors[] = array(
                'name' => $connectorNode->getName(),
                'type' => $connectorNode->getType(),
                'params' => $connectorNode->getParamsAsArray()
            );
        }

        // Return what we got
        return $connectors;
    }
public function getConnectorsAsArray ( ) { // Iterate over the connectors nodes and sort them into an array $ connectors = array ( ) ; /** @var \AppserverIo\Appserver\Core\Api\Node\ConnectorNode $connectorNode */ foreach ( $ this -> getConnectors ( ) as $ connectorNode ) { // Restructure to an array $ connectors [ ] = array ( 'name' => $ connectorNode -> getName ( ) , 'type' => $ connectorNode -> getType ( ) , 'params' => $ connectorNode -> getParamsAsArray ( ) ) ; } // Return what we got return $ connectors ; }
Returns the connectors as an associative array

@return array The array with the sorted connectors
Returns the connectors as an associative array