PHP Class Sylius\Bundle\AddressingBundle\Controller\ProvinceController

Author: Paweł Jędrzejewski ([email protected])
Inheritance: extends Sylius\Bundle\ResourceBundle\Controller\ResourceController
Exibir arquivo Open project: sylius/sylius

Public Methods

Method Description
choiceOrTextFieldFormAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse

Protected Methods

Method Description
createProvinceChoiceForm ( Sylius\Component\Addressing\Model\CountryInterface $country ) : Symfony\Component\Form\FormInterface
createProvinceTextForm ( ) : Symfony\Component\Form\FormInterface

Method Details

choiceOrTextFieldFormAction() public method

public choiceOrTextFieldFormAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\JsonResponse

createProvinceChoiceForm() protected method

protected createProvinceChoiceForm ( Sylius\Component\Addressing\Model\CountryInterface $country ) : Symfony\Component\Form\FormInterface
$country Sylius\Component\Addressing\Model\CountryInterface
return Symfony\Component\Form\FormInterface

createProvinceTextForm() protected method

protected createProvinceTextForm ( ) : Symfony\Component\Form\FormInterface
return Symfony\Component\Form\FormInterface