PHP Class Sylius\Bundle\PayumBundle\Controller\PayumController

Author: Arkadiusz Krakowiak ([email protected])
显示文件 Open project: sylius/sylius

Public Methods

Method Description
__construct ( Payum\Core\Payum $payum, Sylius\Component\Order\Repository\OrderRepositoryInterface $orderRepository, Sylius\Component\Resource\Metadata\MetadataInterface $orderMetadata, Sylius\Bundle\ResourceBundle\Controller\RequestConfigurationFactoryInterface $requestConfigurationFactory, Sylius\Bundle\ResourceBundle\Controller\ViewHandlerInterface $viewHandler )
afterCaptureAction ( Request $request ) : Response
prepareCaptureAction ( Request $request, mixed $tokenValue ) : Response

Private Methods

Method Description
getHttpRequestVerifier ( ) : Payum\Core\Security\HttpRequestVerifierInterface
getTokenFactory ( ) : Payum\Core\Security\GenericTokenFactoryInterface

Method Details

__construct() public method

public __construct ( Payum\Core\Payum $payum, Sylius\Component\Order\Repository\OrderRepositoryInterface $orderRepository, Sylius\Component\Resource\Metadata\MetadataInterface $orderMetadata, Sylius\Bundle\ResourceBundle\Controller\RequestConfigurationFactoryInterface $requestConfigurationFactory, Sylius\Bundle\ResourceBundle\Controller\ViewHandlerInterface $viewHandler )
$payum Payum\Core\Payum
$orderRepository Sylius\Component\Order\Repository\OrderRepositoryInterface
$orderMetadata Sylius\Component\Resource\Metadata\MetadataInterface
$requestConfigurationFactory Sylius\Bundle\ResourceBundle\Controller\RequestConfigurationFactoryInterface
$viewHandler Sylius\Bundle\ResourceBundle\Controller\ViewHandlerInterface

afterCaptureAction() public method

public afterCaptureAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

prepareCaptureAction() public method

public prepareCaptureAction ( Request $request, mixed $tokenValue ) : Response
$request Symfony\Component\HttpFoundation\Request
$tokenValue mixed
return Symfony\Component\HttpFoundation\Response