\App\Base\Overrides\MigrationsFactory

Migration factory override

Summary

Methods
Properties
Constants
__construct()
newList()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$adapter
$classLoader
N/A

Properties

$adapter

$adapter : \Genkgo\Migrations\AdapterInterface

Type

\Genkgo\Migrations\AdapterInterface — adapter

$classLoader

$classLoader : \Closure

Type

\Closure — class loader

Methods

__construct()

__construct(\Genkgo\Migrations\AdapterInterface  $adapter, \Closure|null  $classLoader = null) : mixed

Factory constructor.

Parameters

\Genkgo\Migrations\AdapterInterface $adapter
\Closure|null $classLoader

Returns

mixed —

newList()

newList(string  $namespace = '\') : \App\Base\Overrides\Migrations\Collection

gets a new collection

Parameters

string $namespace

Returns

\App\Base\Overrides\Migrations\Collection —