MakeExporterCommand
class MakeExporterCommand extends MakeExporterCommand (View source)
Traits
Properties
protected | $description | from MakeExporterCommand | |
protected | $signature | ||
$hidden |
Methods
void
copyStubToApp(string $stub, string $targetPath, array $replacements = [])
No description
from
CanManipulateFiles
string|null
guessBelongsToRelationshipName(string $column, string $model)
No description
from
CanReadModelSchemas
string|null
guessBelongsToRelationshipTableName(string $column)
No description
from
CanReadModelSchemas
string
guessBelongsToRelationshipTitleColumnName(string $column, string $model)
No description
from
CanReadModelSchemas
Details
protected string
indentString(string $string, int $level = 1)
No description
protected bool
checkForCollision(array $paths)
No description
protected void
copyStubToApp(string $stub, string $targetPath, array $replacements = [])
No description
protected bool
fileExists(string $path)
No description
protected void
writeFile(string $path, string $contents)
No description
protected string
getDefaultStubPath()
No description
protected string|null
getModel(string $model)
No description
protected Builder
getModelSchema(string $model)
No description
protected string
getModelTable(string $model)
No description
protected string|null
guessBelongsToRelationshipName(string $column, string $model)
No description
protected string|null
guessBelongsToRelationshipTableName(string $column)
No description
protected string
guessBelongsToRelationshipTitleColumnName(string $column, string $model)
No description
protected array
parseColumnType(array $column)
No description
protected mixed
parseDefaultExpression(array $column, string $model)
No description
protected string
getExporterColumns(string $model)
No description
int
handle()
No description