Sleimanx2\Plastic\Mappings\Creator::getPath PHP Method

getPath() protected method

Get the full path name to the mapping.
protected getPath ( string $model, string $path ) : string
$model string
$path string
return string
    protected function getPath($model, $path)
    {
        $name = Str::lower(str_replace('\\', '_', $model));
        return $path . '/' . $name . '.php';
    }