Sleimanx2\Plastic\Console\Mapping\Make::writeMapping PHP Method

writeMapping() private method

Create the mapping file.
private writeMapping ( $model )
$model
    private function writeMapping($model)
    {
        $path = $this->getMappingPath();
        $file = pathinfo($this->creator->create($model, $path), PATHINFO_FILENAME);
        $this->comment($file . ' was created successfully');
    }