PHP Class PartKeepr\SetupBundle\Controller\SetupBaseController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
ファイルを表示 Open project: partkeepr/PartKeepr

Protected Methods

Method Description
dumpConfig ( Request $request, $test = true )
ensureAuthKey ( Request $request )
getAuthKeyErrorResponse ( )
handleRequest ( Request $request, $uri, array $parameters = [], string $environment = 'setup_test' ) : Symfony\Component\HttpFoundation\JsonResponse | Response Handles the given request by setting up a setup_test environment.
verifyAuthKey ( $givenKey )

Method Details

dumpConfig() protected method

protected dumpConfig ( Request $request, $test = true )
$request Symfony\Component\HttpFoundation\Request

ensureAuthKey() protected method

protected ensureAuthKey ( Request $request )
$request Symfony\Component\HttpFoundation\Request

getAuthKeyErrorResponse() protected method

protected getAuthKeyErrorResponse ( )

handleRequest() protected method

Handles the given request by setting up a setup_test environment.
protected handleRequest ( Request $request, $uri, array $parameters = [], string $environment = 'setup_test' ) : Symfony\Component\HttpFoundation\JsonResponse | Response
$request Symfony\Component\HttpFoundation\Request
$uri
$parameters array
$environment string
return Symfony\Component\HttpFoundation\JsonResponse | Symfony\Component\HttpFoundation\Response

verifyAuthKey() protected method

protected verifyAuthKey ( $givenKey )