Methods |
public
|
__construct(Filesystem $files)
Create a new console command instance.
Create a new console command instance.
Overrides
Overriden by
|
#
|
public
|
handle(): void
Execute the console command.
Execute the console command.
|
#
|
public
|
castPropertiesType(Model $model)
cast the properties's type from $casts.
cast the properties's type from $casts.
|
#
|
public
|
getPropertiesFromTable(Model $model)
Load the properties from the database table.
Load the properties from the database table.
Throws
|
#
|
public
|
getPropertiesFromMethods(Model $model)
|
#
|
public
|
setProperty(
string $name,
string|null $type = null,
bool|null $read = null,
bool|null $write = null,
string|null $comment = '',
bool $nullable = false,
)
|
#
|
public
|
setMethod($name, $type = '', $arguments = [], $comment = '')
|
#
|
public
|
unsetMethod($name)
|
#
|
public
|
getMethodType(Model $model, string $classType)
|
#
|
public
|
getParameters($method): array
Get the parameters and format them correctly
Get the parameters and format them correctly
Throws
|
#
|