GcDevelopment\Controller\DocumentTypeController::indexAction PHP Method

indexAction() public method

List all document types
public indexAction ( ) : Zend\View\Model\ViewModel | array
return Zend\View\Model\ViewModel | array
    public function indexAction()
    {
        $documents = new DocumentType\Collection();
        return array('documents' => $documents->getDocumentTypes());
    }