PHP Class Wallabag\ImportBundle\Controller\WallabagController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
显示文件 Open project: wallabag/wallabag Class Usage Examples

Public Methods

Method Description
indexAction ( Request $request ) : Response | RedirectResponse Handle import request.

Protected Methods

Method Description
getImportService ( ) : Wallabag\ImportBundle\Import\ImportInterface Return the service to handle the import.
getImportTemplate ( ) : string Return the template used for the form.

Method Details

getImportService() abstract protected method

Return the service to handle the import.
abstract protected getImportService ( ) : Wallabag\ImportBundle\Import\ImportInterface
return Wallabag\ImportBundle\Import\ImportInterface

getImportTemplate() abstract protected method

Return the template used for the form.
abstract protected getImportTemplate ( ) : string
return string

indexAction() public method

Handle import request.
public indexAction ( Request $request ) : Response | RedirectResponse
$request Symfony\Component\HttpFoundation\Request
return Response | RedirectResponse