/** * Retrieve all permissions, available in different formats. * * @param string $format The preferred format of the output: object, array (default), json. * @param boolean $withTrashed Should soft-deleted entries be included? Default set to false. * @return mixed **/ public function allPermissions($format = 'array', $withTrashed = false) { return $this->permissions->all($format, $withTrashed); }
/** * Retrieve all roles, available in different formats. * * @param string $format The preferred format of the output: object, array (default), json. * @param boolean $withTrashed Should soft-deleted entries be included? Default set to false. * @return mixed **/ public function allRoles($format = 'array', $withTrashed = false) { return $this->roles->all($format, $withTrashed); }