Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
DrawMyAttention
ResourceGenerator
Commands
ResourceMakeCommand
typeCanDefineSize
DrawMyAttention\ResourceGenerator\Commands\ResourceMakeCommand::typeCanDefineSize PHP 메소드
ResourceMakeCommand 1 문서
파일 보기
프로젝트 열기: drawmyattention/laravel-make-resource
typeCanDefineSize()
개인적인
메소드
Can the data type have it's size controlled within the migration?
private
typeCanDefineSize
(
string
$type
) :
boolean
$type
string
리턴
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