Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
DrawMyAttention
ResourceGenerator
Commands
ResourceMakeCommand
typeCanDefineSize
DrawMyAttention\ResourceGenerator\Commands\ResourceMakeCommand::typeCanDefineSize PHP Method
ResourceMakeCommand Class Documentation
Show file
Open project: drawmyattention/laravel-make-resource
typeCanDefineSize()
private
method
Can the data type have it's size controlled within the migration?
private
typeCanDefineSize
(
string
$type
) :
boolean
$type
string
return
boolean
private function typeCanDefineSize($type) { return $type == 'string' || $type == 'char'; }
ResourceMakeCommand
__construct
addMigrationAttributes
addModelAttributes
appendRoutes
buildFakerAttributes
buildMigration
buildMigrationFilename
buildModel
buildSchemaColumn
buildTableColumns
convertArrayToString
convertModelToTableName
createController
createMigration
createModel
createModelFactory
extractAttributePropertiesToApply
extractFieldLengthValue
getFieldTypeFromProperties
handle
modelName
parseAttributesFromInputString
replaceClassName
typeCanDefineSize