classFactorStep
final class FactorStep
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.One factor an ALTER USER factor change names: n FACTOR, with the method ADD and MODIFY give it.
The number is kept as written; the server accepts only 2 and 3. Source: https://dev.mysql.com/doc/refman/8.4/en/alter-user.html#alter-user-multifactor.
(new \SqlSemantics\Platform\MySql\Statement\Account\User\FactorStep(new \SqlSemantics\Platform\MySql\Statement\Literal\Numeral('2')))->factor->text // => '2'Properties§
public Numeral $factorpublic Identification|null $identification = nullMethods§
public function __construct(
public Numeral $factor,
public Identification|null $identification = null,
)Parameters
$factor | Numeral | The factor number as written |
$identification | Identification|null | The authentication method of the factor, for ADD and MODIFY |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
FactorStepTestcalls