mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-01-26 11:44:11 +00:00
17 lines
355 B
PHP
17 lines
355 B
PHP
<?php
|
|
|
|
namespace distinctm\LaravelDataSync\Tests\Fakes;
|
|
|
|
use distinctm\LaravelDataSync\Updater;
|
|
use Illuminate\Support\Str;
|
|
|
|
class UpdaterFake extends Updater
|
|
{
|
|
protected function getModel(string $name)
|
|
{
|
|
return '\\distinctm\\LaravelDataSync\\Tests\\'.Str::studly(
|
|
pathinfo($name, PATHINFO_FILENAME)
|
|
);
|
|
}
|
|
}
|