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\Models\Concerns; | |
use Sqids\Sqids; | |
/** | |
* @mixin \Illuminate\Database\Eloquent\Model | |
*/ | |
trait HasSqid |
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\View\Components; | |
use Illuminate\Contracts\View\View; | |
use Illuminate\View\Component; | |
use InvalidArgumentException; | |
class Stack extends Component | |
{ |
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
export default class { | |
public errors: Record<string, string[]>; | |
constructor(errors: Record<string, string[]> = []) { | |
this.errors = errors; | |
} | |
set(errors: Record<string, string[]>) { | |
this.errors = errors; | |
} |
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\Models; | |
class Invitation extends Model | |
{ | |
protected $fillable = [ | |
'token', | |
'email', | |
]; |
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\Providers; | |
use App\Repositories\SettingsRepository; | |
use Illuminate\Support\ServiceProvider; | |
class AppServiceProvider extends ServiceProvider | |
{ | |
public function register() |
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
### Keybase proof | |
I hereby claim: | |
* I am martinbean on github. | |
* I am martinbean (https://keybase.io/martinbean) on keybase. | |
* I have a public key ASB2_ZA3DkCT9MjQuO8huSLkj8dOOxr8Cyy_bMrG3HAVJQo | |
To claim this, I am signing this object: |
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 Tests\Browser\Pages; | |
use Laravel\Dusk\Browser; | |
class CartPage extends Page | |
{ | |
/** | |
* {@inheritDoc} |
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\Handlers\Jobs; | |
use App\Jobs\LogNameJob; | |
use Illuminate\Support\Facades\Log; | |
class LogNameHandler | |
{ | |
public function __construct() |
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
p:last-of-type::after { | |
content: "\0020 \220E" | |
} |
NewerOlder