AppserverIo\Appserver\Core\Api\Node\AppserverNode::attachContainer PHP Method

attachContainer() public method

Attaches the passed container node.
public attachContainer ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $container ) : void
$container AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The container node to attach
return void
    public function attachContainer(ContainerNodeInterface $container)
    {
        $this->containers[$container->getPrimaryKey()] = $container;
    }