1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 17:36:38 +02:00

feat: STUBS!

This commit is contained in:
Matthew Kilgore
2021-12-01 17:36:36 -05:00
parent c561897f1c
commit 05aa62f70c
35 changed files with 19100 additions and 3 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace Illuminate\Contracts\Auth\Access
{
interface Gate
{
/**
* Get a guard instance for the given user.
*
* @param \Illuminate\Contracts\Auth\Authenticatable|mixed $user
* @return \Illuminate\Contracts\Auth\Access\Gate
*/
public function forUser($user);
}
}
namespace Illuminate\Auth\Access
{
class Gate implements \Illuminate\Contracts\Auth\Access\Gate
{
/**
* Get a guard instance for the given user.
*
* @param \Illuminate\Contracts\Auth\Authenticatable|mixed $user
* @return \Illuminate\Contracts\Auth\Access\Gate
*/
public function forUser($user);
}
}