Файл: gapps/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/AuthServiceProvider.php
Строк: 22
<?php
namespace IlluminateFoundationSupportProviders;
use IlluminateSupportServiceProvider;
use IlluminateContractsAuthAccessGate as GateContract;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [];
/**
* Register the application's policies.
*
* @param IlluminateContractsAuthAccessGate $gate
* @return void
*/
public function registerPolicies(GateContract $gate)
{
foreach ($this->policies as $key => $value) {
$gate->policy($key, $value);
}
}
/**
* {@inheritdoc}
*/
public function register()
{
//
}
}