프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$description | string | The console command description. | |
$dirs | |||
$filename | |||
$files | Illuminate\Filesystem\Filesystem | ||
$methods | |||
$name | string | The console command name. | |
$properties | |||
$reset | |||
$write |
메소드 | 설명 | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files ) | ||
fire ( ) : void | Execute the console command. | |
getParameters ( $method ) : array | Get the parameters and format them correctly |
메소드 | 설명 | |
---|---|---|
castPropertiesType ( |
cast the properties's type from $casts. | |
createPhpDocs ( string $class ) : string | ||
generateDocs ( $loadModels, $ignore = '' ) | ||
getArguments ( ) : array | Get the console command arguments. | |
getOptions ( ) : array | Get the console command options. | |
getPropertiesFromMethods ( |
||
getPropertiesFromTable ( |
Load the properties from the database table. | |
getReturnTypeFromDocBlock ( ReflectionMethod $reflection ) : null | string | Get method return type based on it DocBlock comment | |
getTypeOverride ( string $type ) : string | Returns the overide type for the give type. | |
hasCamelCaseModelProperties ( ) : boolean | ||
loadModels ( ) | ||
setMethod ( $name, $type = '', $arguments = [] ) | ||
setProperty ( string $name, string | null $type = null, boolean | null $read = null, boolean | null $write = null, string | null $comment = '' ) |
메소드 | 설명 | |
---|---|---|
getCollectionClass ( string $className ) : string | Determine a model classes' collection type. |
public __construct ( Illuminate\Filesystem\Filesystem $files ) | ||
$files | Illuminate\Filesystem\Filesystem |
protected castPropertiesType ( |
||
$model |
protected getArguments ( ) : array | ||
리턴 | array |
public getParameters ( $method ) : array | ||
$method | ||
리턴 | array |
protected getPropertiesFromMethods ( |
||
$model |
protected getPropertiesFromTable ( |
||
$model |
protected getReturnTypeFromDocBlock ( ReflectionMethod $reflection ) : null | string | ||
$reflection | ReflectionMethod | |
리턴 | null | string |
protected getTypeOverride ( string $type ) : string | ||
$type | string | |
리턴 | string |
protected hasCamelCaseModelProperties ( ) : boolean | ||
리턴 | boolean |
protected Filesystem,Illuminate\Filesystem $files | ||
리턴 | Illuminate\Filesystem\Filesystem |