public function getRoles() {

		$roles = [];

		foreach($this -> permissions as $role => $permissions) {
			$roles[$role] = $this -> getRole($role);
		}

		return $roles;
	}
public function getRoles() {

		$roles = [];

		foreach($this -> permissions as $role => $permissions) {
			$roles[$role] = $this -> getRole($role);
		}

		return $roles;
	}
public function getRoles ( ) { $ roles = [ ] ; foreach ( $ this -> permissions as $ role => $ permissions ) { $ roles [ $ role ] = $ this -> getRole ( $ role ) ; } return $ roles ; }
Returns all the roles as an array
@return array
Returns all the roles as an array