Maintain local ⭤ remote in sync with automatic AT Protocol parity for Laravel (alpha & unstable)
at dev 19 lines 374 B view raw
1<?php 2 3namespace SocialDept\AtpParity\Tests\Fixtures; 4 5use SocialDept\AtpParity\Concerns\SyncsWithAtp; 6 7/** 8 * Test model with SyncsWithAtp trait for unit testing. 9 * 10 * Extends TestModel so it gets the same mapper from the registry. 11 */ 12class SyncableModel extends TestModel 13{ 14 use SyncsWithAtp; 15 16 protected $casts = [ 17 'atp_synced_at' => 'datetime', 18 ]; 19}