This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Person extends Model { | |
| use AlgoliaEloquentTrait; | |
| public $indices = [‘my-index’]; | |
| public function getAlgoliaRecord() { | |
| return array_merge($this->toArray(), [ | |
| ‘addresses’ => $this->addresses->toArray(), | |
| ‘contacts’ => $this->contacts->toArray() | |
| ]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use AlgoliaSearch\Laravel\AlgoliaEloquentTrait; | |
| class Person extends Model { | |
| use AlgoliaEloquentTrait; | |
| public $indices = [‘my-index’]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Test | |
| console.log('testing'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pick 6c97635 Added hello_world method | |
| fixup 3e8b993 fixup! Added hello_world method |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 3e8b993b588fd322062707897dcfa360a918a4c8 | |
| Author: Mark Biek <[email protected]> | |
| Date: Tue Feb 9 09:16:14 2016 -0500 | |
| fixup! Added hello_world method | |
| commit 6c9763535248a081ad497ae3a5719dd14f2a83cd | |
| Author: Mark Biek <[email protected]> | |
| Date: Tue Feb 9 09:12:12 2016 -0500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 6c9763535248a081ad497ae3a5719dd14f2a83cd | |
| Author: Mark Biek <[email protected]> | |
| Date: Tue Feb 9 09:12:12 2016 -0500 | |
| Added hello_world method |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 092c559e54c027a9b7ccb31289fef3cd6850273f | |
| Author: Mark Biek <[email protected]> | |
| Date: Tue Feb 9 08:59:50 2016 -0500 | |
| Added MyClass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pick 34ab067 Added MyClass | |
| fixup 9cbcb58 Actually added class definition | |
| fixup f9ec9e9 Added constructor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pick 34ab067 Added MyClass | |
| pick 9cbcb58 Actually added class definition | |
| pick f9ec9e9 Added constructor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit f9ec9e9bcdb63119ccab3716b15c9fe78eae8e4c | |
| Author: Mark Biek <[email protected]> | |
| Date: Tue Feb 9 09:01:01 2016 -0500 | |
| Added constructor | |
| commit 9cbcb58e8c18eeda9f73a5479cc3c867da2a3598 | |
| Author: Mark Biek <[email protected]> | |
| Date: Tue Feb 9 09:00:23 2016 -0500 |