Skip to content

Instantly share code, notes, and snippets.

Mikaël DELSOL mikaelcom

Block or report user

Report or block mikaelcom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View TravelportSoapClient.php
<?php
/**
* File containing the overriding class for the SoapClient used in the WsdlClass class
* @package Travelport
* @subpackage Structs
* @author WsdlToPhp Team <contact@wsdltophp.com>
* @date 17-02-2014
*/
/**
* Class that overrides the native SoapClient in order to modify its behavior especially before sending the request
@mikaelcom
mikaelcom / part_of_the_generated_form.html
Last active Jun 29, 2017
Usage of Cyrillic names into a Symfony Form
View part_of_the_generated_form.html
<div id="form_parameters_parameters_request_order_shipper_address_КонтактнаяИнформация">
<div class="form-group">
<label class="control-label" for="form_parameters_parameters_request_order_shipper_address_КонтактнаяИнформация_Комментарий">Комментарий</label>
<input type="text" id="form_parameters_parameters_request_order_shipper_address_КонтактнаяИнформация_Комментарий" name="form[parameters][parameters][request][order][shipper][address][КонтактнаяИнформация][Комментарий]" placeholder="string" title="string" class="form-control">
</div>
<div class="form-group">
<label class="control-label" for="form_parameters_parameters_request_order_shipper_address_КонтактнаяИнформация_Состав">Состав</label>
<div class="load-struct-details">
<div class="load-abstract form-group">
<select id="form_parameters_parameters_request_order_shipper_address_КонтактнаяИнформация_Состав" name="form[parameters][parameters][request][order][shipper][address][Контактна
View Controller.php
<?php
class SomeClass
{
public function someMethod()
{
$parametersFieldsForm = $form->create('parameters', null, [
'compound' => true,
'translation_domain' => false,
]);
foreach ($parameters as $parameter) {
View FormBuilder.php
<?php
declare(strict_types=1);
namespace App\Form;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\Form\Exception\InvalidArgumentException;
use Symfony\Component\Form\Exception\UnexpectedTypeException;
use Symfony\Component\Form\FormBuilder as BaseFormBuilder;
You can’t perform that action at this time.