src/main/php/App.php
protected static function getBindingsForApp($className)
    {
        $bindings = method_exists($className, '__bindings') ? $className::__bindings() : [];
        if (!Runtime::initialized()) {
            $bindings[] = static::runtime();
        }

        return $bindings;
    }
protected static function getBindingsForApp($className)
    {
        $bindings = method_exists($className, '__bindings') ? $className::__bindings() : [];
        if (!Runtime::initialized()) {
            $bindings[] = static::runtime();
        }

        return $bindings;
    }
creates list of bindings from given class

@internal  must not be used by applications
@param   string  $className    full qualified class name of class to create an instance of
@param   string  $projectPath  path to project
@return  \stubbles\ioc\module\BindingModule[]
@since   1.3.0