public static function getByID($id) { $permission = new UserPermission(); $permission->get(['id' => $id]); return $permission; }