This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return new Response( | |
$content, | |
200, | |
array( | |
'Content-Type' => $mimeType, | |
'Content-Disposition' => sprintf('attachment; filename="%s"', $filename), | |
) | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
{{ form_label(form.myField.first, '1st label') }} | |
{{ form_errors(form.myField) }} | |
{{ form_widget(form.myField.first) }} | |
</div> | |
<div> | |
{{ form_label(form.myField.second, '2nd label') }} | |
{{ form_widget(form.myField.second) }} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mail will be stripped due to the length of THIS line and the dot. | |
Apparently, this line will not be sent due to the exact length of the previous line, the trailing dot and two newlines, no matter which kind of newlines (Windows/UNIX) will be used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Company { | |
/** | |
* @var Timespan[] | |
* @ORM\OneToMany(targetEntity="Timespan", mappedBy="company", cascade={"persist", "remove"}) | |
*/ | |
protected $timespans; | |
} | |
class Timespan { | |
/** |