public function getContainer($name)
    {
        // try to match one of the container names with the passed name
        /** @var \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface $container */
        foreach ($this->getContainers() as $container) {
            if (fnmatch($name, $container->getName())) {
                return $container;
            }
        }
    }
public function getContainer($name)
    {
        // try to match one of the container names with the passed name
        /** @var \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface $container */
        foreach ($this->getContainers() as $container) {
            if (fnmatch($name, $container->getName())) {
                return $container;
            }
        }
    }
public function getContainer ( $ name ) { // try to match one of the container names with the passed name /** @var \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface $container */ foreach ( $ this -> getContainers ( ) as $ container ) { if ( fnmatch ( $ name , $ container -> getName ( ) ) ) { return $ container ; } } }
Returns the container with the passed name.

@param string $name The name of the container to return

@return \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface The container node matching the passed name
Returns the container with the passed name .