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
/* @var Namespace\Entita $entita / | |
$entita = $this->getDoctrine()->....->find(..); |
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
Feature: Create personal schedule | |
In order to spend more time socialising at the conference instead of looking at the schedule | |
As a conference attendee | |
I want to create my personal schedule beforehand | |
Scenario: Successfully selecting 1 talk | |
Given there is a conference "Agile Conference" | |
And there is a "Specification" talk in the first time period | |
When I choose the "Specification" talk |
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
Feature: Create personal schedule | |
In order to spend more time socialising at the conference instead of looking at the schedule | |
As a conference attendee | |
I want to create my personal schedule beforehand | |
Scenario: Successfully selecting 1 talk | |
Given there is a conference "XP Conference" | |
And there is a "Specification" talk in first time period | |
When I open the "/conferences/xp" page |
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
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<soap:Header> | |
<MessageResponse GId="1ca33652-d0e0-4ece-aeef-c3a44886f86a" MId="9a3e7236-4341-4c85-ba50-97d3fcfa7010" MTs="2015-06-12T12:51:11.6389164+02:00" METs="2015-06-22T12:51:11.6389164+02:00" xmlns="urn:crif-message:2006-08-23"> | |
<P SId="S18" PId="EuriscINC" PNs="urn:crif-anagraficaunica-eurisc:2006-11-28"> | |
<R L="en-US" C="urn:crif-messagegateway:2006-08-23:S" D="Success."/> | |
</P> | |
<Tx TxNs="urn:crif-messagegateway:2006-08-23"> | |
<R L="en-US" C="urn:crif-messagegateway:2006-08-23:S" D="Success."/> | |
</Tx> | |
</MessageResponse> |
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
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<soap:Header> | |
<MessageResponse GId="1ca33652-d0e0-4ece-aeef-c3a44886f86a" MId="9a3e7236-4341-4c85-ba50-97d3fcfa7010" MTs="2015-06-12T12:51:11.6389164+02:00" METs="2015-06-22T12:51:11.6389164+02:00" xmlns="urn:crif-message:2006-08-23"> | |
<P SId="S18" PId="EuriscINC" PNs="urn:crif-anagraficaunica-eurisc:2006-11-28"> | |
<R L="en-US" C="urn:crif-messagegateway:2006-08-23:S" D="Success."/> | |
</P> | |
<Tx TxNs="urn:crif-messagegateway:2006-08-23"> | |
<R L="en-US" C="urn:crif-messagegateway:2006-08-23:S" D="Success."/> | |
</Tx> | |
</MessageResponse> |
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
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><MessageResponse GId="1ca33652-d0e0-4ece-aeef-c3a44886f86a" MId="9a3e7236-4341-4c85-ba50-97d3fcfa7009" MTs="2015-06-12T12:48:44.3898588+02:00" METs="2015-06-22T12:48:44.3898588+02:00" xmlns="urn:crif-message:2006-08-23"><P SId="S18" PId="EuriscINC" PNs="urn:crif-anagraficaunica-eurisc:2006-11-28"><R L="en-US" C="urn:crif-messagegateway:2006-08-23:S" D="Success." /></P><Tx TxNs="urn:crif-messagegateway:2006-08-23"><R L="en-US" C="urn:crif-messagegateway:2006-08-23:S" D="Success." /></Tx></MessageResponse></soap:Header><soap:Body><MGResponse xmlns="urn:crif-messagegateway:2006-08-23"><MGResponse xmlns="urn:crif-messagegateway:2006-08-23"><EuriscINCResponse xmlns="urn:crif-anagraficaunica-eurisc:2006-11-28"><CCC>L25611020</CCC><AI><PF C="NERI" N="LUCIANA" S="F" DN |
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
<?php | |
class Order | |
{ | |
private $orderId; | |
private $state; | |
private $total; | |
private $creationDate; | |
private $items = array(); | |
private $buyer; |
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
<?php | |
class OrderProcessedViewModel | |
{ | |
public $orderId; | |
public $paymentDetails; | |
public $shippingDetails; | |
public static function createFromOrder(Order $order) | |
{ |
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
//controller | |
public function retrieveLastOrderForCustomerAction(customerId) | |
{ | |
$order = $this->getManager() | |
->getRepository('AppBundle:Order') | |
->findLastByCustomer(customerId); | |
if (! order) { | |
... |
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
<?php | |
class Order | |
{ | |
private $orderId; | |
private $state; | |
private $total; | |
private $creationDate; | |
private $items = array(); | |
private $buyer; |
NewerOlder