src/main/php/ioc/Binder.php
public static function createInjector(callable ...$applyBindings)
    {
        $self = new self();
        foreach ($applyBindings as $applyBinding) {
            $applyBinding($self);
        }

        return $self->getInjector();
    }
public static function createInjector(callable ...$applyBindings)
    {
        $self = new self();
        foreach ($applyBindings as $applyBinding) {
            $applyBinding($self);
        }

        return $self->getInjector();
    }
creates injector instance with bindings

@param   callable  ...$applyBindings  optional  callables which accept instances of stubbles\ioc\Binder
@return  \stubbles\ioc\Injector
@since   7.0.0