public function getContainersAsArray()
    {

        // initialize the array for the containers
        $containers = array();

        // iterate over all found containers and assemble the array
        /** @var \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface $container */
        foreach ($this->getContainers() as $container) {
            $containers[$container->getName()] = $container;
        }

        // return the array with the containers
        return $containers;
    }
public function getContainersAsArray()
    {

        // initialize the array for the containers
        $containers = array();

        // iterate over all found containers and assemble the array
        /** @var \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface $container */
        foreach ($this->getContainers() as $container) {
            $containers[$container->getName()] = $container;
        }

        // return the array with the containers
        return $containers;
    }
public function getContainersAsArray ( ) { // initialize the array for the containers $ containers = array ( ) ; // iterate over all found containers and assemble the array /** @var \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface $container */ foreach ( $ this -> getContainers ( ) as $ container ) { $ containers [ $ container -> getName ( ) ] = $ container ; } // return the array with the containers return $ containers ; }
Returns the containers as array with the container name as key.

@return array The array with the containers
Returns the containers as array with the container name as key .