PHP Class hedronium\Jables\Runner

Show file Open project: hedronium/jables

Protected Properties

Property Type Description
$app
$db
$db_manager
$foreigns
$fs
$loader
$parser
$tables
$types

Public Methods

Method Description
__construct ( $app, Illuminate\Filesystem\Filesystem $fs, Illuminate\Database\DatabaseManager $db, Loader $loader )
connection ( $connection = null )
createTable ( )
foreigns ( )
up ( array $table_names = [], $engine = null, $onerror = null )

Protected Methods

Method Description
field ( $table, $name, $field )
fieldTypeObject ( $type )

Method Details

__construct() public method

public __construct ( $app, Illuminate\Filesystem\Filesystem $fs, Illuminate\Database\DatabaseManager $db, Loader $loader )
$fs Illuminate\Filesystem\Filesystem
$db Illuminate\Database\DatabaseManager
$loader Loader

connection() public method

public connection ( $connection = null )

createTable() public method

public createTable ( )

field() protected method

protected field ( $table, $name, $field )

fieldTypeObject() protected method

protected fieldTypeObject ( $type )

foreigns() public method

public foreigns ( )

up() public method

public up ( array $table_names = [], $engine = null, $onerror = null )
$table_names array

Property Details

$app protected property

protected $app

$db protected property

protected $db

$db_manager protected property

protected $db_manager

$foreigns protected property

protected $foreigns

$fs protected property

protected $fs

$loader protected property

protected $loader

$parser protected property

protected $parser

$tables protected property

protected $tables

$types protected property

protected $types