12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace App\Services\History\Detector;
- use App\Services\History\Converter\CustomFieldSelectConverter;
- use App\Services\History\Converter\NamingRuleConverter;
- class FileDetector extends DetectorAbstract
- {
- public static function fields(): array
- {
- return [
- 'title',
- 'source',
- 'is_hide',
- 'version',
- 'naming_rules',
- 'doc_stage',
- 'doc_type'
- ];
- }
- public static function diffFields(): array
- {
- return [
- 'title',
- 'source',
- 'is_hide',
- 'version',
- 'naming_rules',
- 'doc_stage',
- 'doc_type'
- ];
- }
- public static function converters():array
- {
- return [
- "naming_rule_id" => new NamingRuleConverter(),
- ];
- }
- public static function arrayFields(): array
- {
- return [
- ];
- }
- }
|