MergerContainer
class MergerContainer implements Stringable (View source)
Container for mergers.
Methods
engines(array $mergers)
Add engines.
operating()
Execute engines.
void
write()
Write a string to a file from the $this->lines
array.
string
verbose()
Print lines to string.
array
toArray()
Get an array representation of the array.
string
__toString()
Class magic method to get the real migration file path.
static MergerContainer
from(string|null $migration = null, string|null $body = null)
Create a instance.
static array
getEngines()
Get all the engines.
Details
MergerContainer
engine(Merger $merger)
Add a engine.
MergerContainer
engines(array $mergers)
Add engines.
MergerContainer
operating()
Execute engines.
void
write()
Write a string to a file from the $this->lines
array.
string
verbose()
Print lines to string.
array
toArray()
Get an array representation of the array.
string
__toString()
Class magic method to get the real migration file path.
static MergerContainer
from(string|null $migration = null, string|null $body = null)
Create a instance.
static array
getEngines()
Get all the engines.