5.1.3.6. Baleen\Migrations\Migration\Options¶
-
class
Options
¶ -
__construct
($direction = self::DIRECTION_UP, $forced = false, $dryRun = false, $exceptionOnSkip = true, $custom =[])¶ Parameters: - $direction –
- $forced (bool) –
- $dryRun (bool) –
- $exceptionOnSkip (bool) –
- $custom (array) –
-
setDirection
($direction)¶ setDirection
Parameters: - $direction –
-
getDirection
()¶ getDirection
Returns: string
-
withDirection
($direction)¶ Parameters: - $direction (string) –
Returns: static
-
isDirectionUp
()¶ Returns: bool
-
isDirectionDown
()¶ Returns: bool
-
isForced
()¶ Returns: bool
-
withForced
($forced)¶ withForced
Parameters: - $forced –
Returns: static
-
isDryRun
()¶ Returns: bool
-
withDryRun
($dryRun)¶ withDryRun
Parameters: - $dryRun (bool) –
Returns: static
-
isExceptionOnSkip
()¶ Returns: bool
-
withExceptionOnSkip
($exceptionOnSkip)¶ Parameters: - $exceptionOnSkip (bool) –
Returns: static
-
getCustom
()¶ Returns: array
-
withCustom
($custom)¶ Parameters: - $custom (array) –
Returns: static
-
isSameValueAs
(OptionsInterface $options)¶ Compares the current instance with another instance of options to see if they contain the same values.
Parameters: - $options (OptionsInterface) –
Returns: bool
-