Angejia\Pea\SchemaFacade::getSchemaBuilder PHP Method

getSchemaBuilder() private static method

private static getSchemaBuilder ( $name = null )
    private static function getSchemaBuilder($name = null)
    {
        $builder = static::$app['db']->connection($name)->getSchemaBuilder();
        $builder->blueprintResolver(function ($table, $callback) {
            $blueprint = new Blueprint($table, $callback);
            $blueprint->setMeta(static::$app[Meta::class]);
            return $blueprint;
        });
        return $builder;
    }