public function registerCollection(array $collection)
    {
        foreach ($collection as $name => $handler) {
            $this->register($name, $handler);
        }

        return $this;
    }
public function registerCollection(array $collection)
    {
        foreach ($collection as $name => $handler) {
            $this->register($name, $handler);
        }

        return $this;
    }
public function registerCollection ( array $ collection ) { foreach ( $ collection as $ name => $ handler ) { $ this -> register ( $ name , $ handler ) ; } return $ this ; }
Registers a collection of services

@param array $collection
@return \Krystal\InstanceManager\DependencyInjectionContainer
Registers a collection of services