for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* NOTICE OF LICENSE
*
* Part of the Rinvex Fort Package.
* This source file is subject to The MIT License (MIT)
* that is bundled with this package in the LICENSE file.
* Package: Rinvex Fort Package
* License: The MIT License (MIT)
* Link: https://rinvex.com
*/
namespace Rinvex\Fort\Policies;
use Rinvex\Fort\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class DashboardPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can access the dashboard.
* @param \Rinvex\Fort\Models\User $user
* @return bool
public function access(User $user)
$user
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return true;
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.