public function modelName($modelName, $path = null)
    {
        $path = $path ?: __DIR__.'/../tmp-model.txt';

        return $this->file->put($path, $modelName);
    }
public function modelName($modelName, $path = null)
    {
        $path = $path ?: __DIR__.'/../tmp-model.txt';

        return $this->file->put($path, $modelName);
    }
public function modelName ( $ modelName , $ path = null ) { $ path = $ path ? : __DIR__ . '/../tmp-model.txt' ; return $ this -> file -> put ( $ path , $ modelName ) ; }
Cache the model name

@param  string $modelName
@param  string $path
@return mixed
Cache the model name