MergerContainer
class MergerContainer implements Stringable
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
at line 52
MergerContainer
engine(Merger $merger)
Add a engine.
at line 65
MergerContainer
engines(array $mergers)
Add engines.
at line 77
MergerContainer
operating()
Execute engines.
at line 108
void
write()
Write a string to a file from the $this->lines
array.
at line 121
string
verbose()
Print lines to string.
at line 131
array
toArray()
Get an array representation of the array.
at line 141
string
__toString()
Class magic method to get the real migration file path.
at line 158
static MergerContainer
from(string|null $migration = null, string|null $body = null)
Create a instance.
at line 172
static array
getEngines()
Get all the engines.