Message from JavaScript discussions

July 2017

— Did I miss something

— 

PHP is not known for type safety or static types, but there is never a good reason to use == at all in PHP, imo it shouldn't even exist lol

— DRY is not a pattern

— I said we follow DRY

— And "repository pattern"

— Multi tier architecture

— "We follow Don't Repeat Yourself"

— I understood him ?

— DRY is just a basic principle

— Yea

— Dependency injection is our daily task

— 

 if (isset ($GLOBALS['exportuniverseelcache'][get_class($this)][$this->contractnummer])) return $GLOBALS['exportuniverseelcache'][get_class($this)][$this->contractnummer];
$tekstregels = array ();
if (!$configuration['contracten']['aantaltekstregels']) $configuration['contracten']['aantaltekstregels'] = 2;
for ($i = 1; $i <= $configuration['contracten']['aantaltekstregels']; $i++) {
if ($this->combinatiedata['tekstregel'.$i] && $this->combinatiedata['tekstregel'.$i] != -1) {
$tekstregel = new Tekstregel ($this->combinatiedata['tekstregel'.$i]);
$tekstregels[] = $tekstregel->exportuniverseel();
}
}

Message permanent page