PHP Class Sleimanx2\Plastic\Console\Mapping\Make

Inheritance: extends BaseCommand
Show file Open project: sleimanx2/plastic

Protected Properties

Property Type Description
$description string The console command description.
$signature string The console command name.

Public Methods

Method Description
__construct ( Creator $creator, Illuminate\Support\Composer $composer ) Reset constructor.
handle ( ) Execute the console command.

Private Methods

Method Description
writeMapping ( $model ) Create the mapping file.

Method Details

__construct() public method

Reset constructor.
public __construct ( Creator $creator, Illuminate\Support\Composer $composer )
$creator Sleimanx2\Plastic\Mappings\Creator
$composer Illuminate\Support\Composer

handle() public method

Execute the console command.
public handle ( )

Property Details

$description protected property

The console command description.
protected string $description
return string

$signature protected property

The console command name.
protected string $signature
return string