$modelFactory
$modelFactory : \Charcoal\Factory\FactoryInterface
Create admin user script.
run(\Psr\Http\Message\RequestInterface $request, \Psr\Http\Message\ResponseInterface $response) : \Psr\Http\Message\ResponseInterface
\Psr\Http\Message\RequestInterface | $request | A PSR-7 compatible Request instance. |
\Psr\Http\Message\ResponseInterface | $response | A PSR-7 compatible Response instance. |
setModelFactory(\Charcoal\Factory\FactoryInterface $factory) : \Charcoal\Admin\AdminScript
\Charcoal\Factory\FactoryInterface | $factory | The factory used to create models. |
Chainable
booleanInput(\Charcoal\Property\PropertyInterface $prop) : \League\CLImate\TerminalObject\Dynamic\Input
Get a CLI input from a boolean property.
\Charcoal\Property\PropertyInterface | $prop | The property to retrieve input from. |
passwordInput(\Charcoal\Property\PropertyInterface $prop) : \League\CLImate\TerminalObject\Dynamic\Input
Get a CLI password input (hidden) from a password property.
\Charcoal\Property\PropertyInterface | $prop | The property to retrieve input from. |