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
#!/usr/bin/php | |
<?php | |
define('EXIT_WRONG_USAGE', 127); | |
define('EXIT_SERVICES_NEVER_USED', 1); | |
if (!file_exists('src/Kernel.php')) { | |
die("Please run this command from your Symfony application root."); | |
} | |
require 'app/bootstrap.php'; |
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
import java.lang.reflect.ParameterizedType | |
interface Command | |
interface CommandHandler<C: Command> { | |
fun invoke(command: C) | |
} | |
class CommandBus(val handlers: List<CommandHandler<out Command>>) { | |
@PublishedApi | |
internal val commandToCommandHandler: Map<String, CommandHandler<out Command>> = |
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
// Your code here | |
// Your code here | |
function recupererNombreDeVoisins(generation, ligne, colonne) { | |
var nombreDeVoisinsPleins = 0; | |
var jeNeSuisPasLaPremiereLigne = ligne > 0; | |
var jeNeSuisPasLaPremiereColonne = colonne > 0; | |
var jeNeSuisPasLaDerniereLigne = generation.length - 1 > ligne; | |
var jeNeSuisPasLaDerniereColonne = generation[ligne].length - 1 > colonne; |
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
{ | |
"name":"Country", | |
"type":"dropdown", | |
"options": { | |
"choices":["USA", "FR"] | |
} | |
} | |
AND here is the error : This resource has not yet implemented array assignment for options.choices. |