GcDevelopment\Controller\DatatypeController::indexAction PHP Method

indexAction() public method

List all datatypes
public indexAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array
    public function indexAction()
    {
        $datatypes = new Datatype\Collection();
        return array('datatypes' => $datatypes->getDatatypes());
    }