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 | |
interface consumer | |
{ | |
function dataHasName(data $data, name $name); | |
} | |
interface aggregator | |
{ | |
function recipientOfDataConsumerIs(consumer $consumer, recipient $recipient); |
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 | |
namespace | |
{ | |
class abscisse | |
{ | |
private $value; | |
function __construct($value) | |
{ |
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 | |
namespace world; | |
use | |
cli | |
; | |
abstract class human | |
{ |
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 | |
/* | |
Un barman peut servir un verre d'alcool à un client : | |
1) s'il a plus de 18 ans | |
2) s'il dispose du ou des alcools nécessaires (dans le cas d'un cocktail) en stock. | |
*/ | |
interface barman | |
{ |
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 | |
namespace east\request; | |
interface http | |
{ | |
function methodIsAskedByHttpRequestMatcher(http\matcher $matcher); | |
function pathIsAskedByHttpRequestMatcher(http\matcher $matcher); | |
} |
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 | |
abstract class data | |
{ | |
private | |
$value | |
; | |
function __construct($value) | |
{ |
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 | |
namespace east\movie\library\finder; | |
use | |
east, | |
east\movie, | |
east\movie\library | |
; |
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 | |
namespace api\data; | |
final class data | |
{ | |
private | |
$value | |
; |
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 | |
interface console | |
{ | |
function newData($data); | |
function noMoreData(); | |
function dataGeneratorIs(dataGenerator $dataGenerator); | |
} | |
interface dataGenerator |
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 | |
namespace gol; | |
interface cell | |
{ | |
function isAtAbscissaAndOrdinateInView($x, $y, view $view); | |
function isAtAbscissaAndOrdinateInGrid($x, $y, grid $grid); | |
function cellNeighborIs(cell $cell); | |
function cellNeighborIsDead(); |