\think\migration\command\seedCreate

Summary

Methods
Properties
Constants
getSeeds()
getAdapter()
No public properties found
No constants found
getPath()
getDbConfig()
getConfig()
verifyMigrationDirectory()
configure()
execute()
getTemplate()
$seeds
$config
N/A
No private methods found
No private properties found
N/A

Properties

$seeds

$seeds : array

Type

array

$config

$config : 

Type

Methods

getSeeds()

getSeeds() 

getAdapter()

getAdapter() 

getPath()

getPath() 

getDbConfig()

getDbConfig() : array

获取数据库配置

Returns

array

getConfig()

getConfig(  $name,   $default = null) 

Parameters

$name
$default

verifyMigrationDirectory()

verifyMigrationDirectory(  $path) 

Parameters

$path

configure()

configure() 

{@inheritdoc}

execute()

execute(\think\console\Input  $input, \think\console\Output  $output) : void

Create the new seeder.

Parameters

\think\console\Input $input
\think\console\Output $output

Throws

\RuntimeException
\InvalidArgumentException

getTemplate()

getTemplate()