This file contains 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 | |
// Model | |
/** | |
* Get all the users. | |
* | |
* @return array | |
*/ | |
public function fetch_users($offset = 0) | |
{ |
This file contains 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; | |
use Carbon\Carbon; | |
use Illuminate\Database\Eloquent\Model; | |
class Activity extends Model | |
{ | |
/** |
This file contains 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
D:\test_envs\package_laravel_world>composer require tjoosten/countries | |
[InvalidArgumentException] | |
Could not find package tjoosten/countries at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability | |
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classma | |
p-authoritative] [--] [<packages>]... |
This file contains 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
{"error":"invalid_client","message":"Client authentication failed"} |
This file contains 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 | |
/** | |
* Insert a new permission(s). | |
* | |
* @url POST: /permissions/insert | |
* @param Requests\PermissionValidator $input | |
* @return \Illuminate\Http\RedirectResponse | |
*/ | |
public function insertPermission(Requests\PermissionValidator $input) |
This file contains 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\Notifications; | |
use Illuminate\Bus\Queueable; | |
use Illuminate\Notifications\Notification; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Notifications\Messages\MailMessage; | |
class ChangePassword extends Notification |
This file contains 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
[36mresources/assets/sass/_modules/_variables.scss[0m:[35m2[0m [33m[W][0m [32mColorKeyword: [0mColor `gray` should be written in hexadecimal form as `#808080` | |
[36mresources/assets/sass/_modules/_variables.scss[0m:[35m6[0m [33m[W][0m [32mNameFormat: [0mName of variable `bodyBackground` should be written in all lowercase letters with hyphens instead of underscores | |
[36mresources/assets/sass/_modules/_variables.scss[0m:[35m7[0m [33m[W][0m [32mNameFormat: [0mName of variable `contentBackground` should be written in all lowercase letters with hyphens instead of underscores | |
[36mresources/assets/sass/_modules/_variables.scss[0m:[35m9[0m [33m[W][0m [32mNameFormat: [0mName of variable `primaryButton` should be written in all lowercase letters with hyphens instead of underscores | |
[36mresources/assets/sass/_modules/_variables.scss[0m:[35m10[0m [33m[W][0m [32mNameFormat: [0mName of variable `successButton` should be written in all lowercase letters with hyphens instead of underscores |
This file contains 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\Http\Controllers; | |
use App\Departments; | |
use App\User; | |
use Illuminate\Http\Request; | |
use App\Http\Requests; |
This file contains 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
{ | |
"error":{ | |
"code":"GEN-WRONG-ARGS", | |
"http_code":400, | |
"message":{ | |
"fname":[ | |
"The fname field is required." | |
], | |
"name":[ | |
"The name field is required." |
This file contains 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 | |
// error: | |
// Call to a member function withPaginator() on a non-object | |
namespace Idevelopment\Timecontrol\Api\Controllers; | |
use App\User; | |
use App\Http\Requests\accountManagementValidator; | |
use Chrisbjr\ApiGuard\Http\Controllers\ApiGuardController; |