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\Criteria; | |
| use Illuminate\Database\Query\Builder; | |
| use Illuminate\Support\Str; | |
| use Prettus\Repository\Contracts\CriteriaInterface; | |
| use Prettus\Repository\Contracts\RepositoryInterface; | |
| use Illuminate\Http\Request; |
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
| DB_CONNECTION=pgsql | |
| DB_HOST=127.0.0.1 | |
| DB_DATABASE=guesture_stage | |
| DB_USERNAME=dev_user | |
| DB_PASSWORD=**** | |
| DB_HOST_2=1.1.1.1#ip of production database server | |
| DB_PORT_2=1234 #port | |
| DB_DATABASE_2=guesture_pro #production database name | |
| DB_USERNAME_2=prod_user #production database username |
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
| function checkTense(word) { | |
| return word.toLowerCase().substr(word.length - 2) === "ed" ? "Past" : "Present"; | |
| } |