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
| <?php | |
| namespace App\Mio; | |
| use App\Mio\Exceptions\MioHashingException; | |
| use Exception; | |
| use Illuminate\Support\Facades\Log; | |
| class MioHelper | |
| { |
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
| <?php | |
| class MioHelper | |
| { | |
| public static function hash($mioRecord) | |
| { | |
| $mio = self::processMio($mioRecord); | |
| return md5(serialize($mio)); |
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
| <template> | |
| <div class="me"> | |
| <h1>This is the Me page</h1> | |
| <div> | |
| <button @click="getData" type="button">Fetch Data</button> | |
| </div> | |
| <h2>userId</h2> | |
| <p>{{userId}}</p> |
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
| #!/bin/bash | |
| laravel new $1 | |
| # Change Dir | |
| cd $1 | |
| # Update .env | |
| sed -i "s/APP_NAME=Laravel/APP_NAME=$1/g" .env | |
| sed -i "s/DB_DATABASE=laravel/DB_DATABASE=$1/g" .env |
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
| protected function resetMeetings(): void | |
| { | |
| \Illuminate\Support\Facades\DB::statement("SET foreign_key_checks = 0"); | |
| \Illuminate\Support\Facades\DB::table('meetings')->truncate(); | |
| \Illuminate\Support\Facades\DB::table('meeting_participant_tokens')->truncate(); | |
| \Illuminate\Support\Facades\DB::table('meeting_versions')->truncate(); | |
| \Illuminate\Support\Facades\DB::table('meeting_versions_users')->truncate(); | |
| \Illuminate\Support\Facades\DB::table('meeting_versions_accounts')->truncate(); | |
| \Illuminate\Support\Facades\DB::table('meeting_versions_contacts')->truncate(); | |
| \Illuminate\Support\Facades\DB::table('meeting_versions_content')->truncate(); |
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
| /* | |
| |-------------------------------------------------------------------------- | |
| | Relations | |
| |-------------------------------------------------------------------------- | |
| | | |
| */ | |
| /** | |
| * @return HasMany | |
| */ |
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
| <?php | |
| use Carbon\Carbon; | |
| use Faker\Generator as Faker; | |
| $factory->define(\App\Call\Call::class, function (Faker $faker) { | |
| return [ | |
| 'organization_id' => function () { | |
| return factory(App\Organization\Organization::class)->create()->id; | |
| }, |
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
| <?php | |
| namespace App\Call; | |
| use App\User\User; | |
| use Carbon\Carbon; | |
| use App\Account\Account; | |
| use App\Contact\Contact; | |
| use App\Content\Content; | |
| use App\Core\Model\BaseModel; |
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
| <?php | |
| namespace Tests\Functional\Call; | |
| use App\Call\Call; | |
| use App\Call\MeetingVersion; | |
| use App\Organization\Organization; | |
| use App\User\User; | |
| use Tests\TestCase; | |
| use App\Contact\Contact; |
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
| <?php | |
| namespace App\Call; | |
| use Carbon\Carbon; | |
| use Illuminate\Database\Eloquent\Model; | |
| /** | |
| * Class MeetingVersion | |
| * |
NewerOlder