public function getPermissions() { $all_permissions = $this->buildPermissionsYaml(); return $this->sortPermissions($all_permissions); }