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