name = $name; $this->permissions = $permissions; } /** * Get the name of the permission group * * @return string Name (label) of the permission group */ public function getName() { return $this->name; } /** * Get permissions * * @return array Associative array of permissions in this permission * group. The array indices are the permission codes as * used in {@link Permission::check()}. The value is * suitable for using in an interface. */ public function getPermissions() { return $this->permissions; } }