GcConfig\Controller\UserController::indexAction PHP Method

indexAction() public method

List all roles
public indexAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array
    public function indexAction()
    {
        $userCollection = new User\Collection();
        return array('users' => $userCollection->getUsers());
    }