foreach ($problems as $problem) {
$problemSolved = $this->solve($problem);
if (!$problemSolved) {
$this->execute(self::SHOOT);
}
}
Conteúdo para você se capacitar em programação
foreach ($problems as $problem) {
$problemSolved = $this->solve($problem);
if (!$problemSolved) {
$this->execute(self::SHOOT);
}
}