Skip to content

Instantly share code, notes, and snippets.

@daum
Created October 24, 2014 15:25
Show Gist options
  • Save daum/28ac60633d957eda951e to your computer and use it in GitHub Desktop.
Save daum/28ac60633d957eda951e to your computer and use it in GitHub Desktop.
<?php
$choices = [
'Permission 1' => 'Permission 1',
'Permission 1 Sub-Permissions' => [
'Permission 1a' => '1a',
'Permission 1b' => '1b'
],
'Permission 2' => 'Permission 2',
'Permission 3' => 'Permission 3',
'Permission 3 Sub-Permissions' => [
'Permission 3a' => '3a',
'Permission 3b' => '3b'
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment