public function __construct($concs) { foreach ($concs as $conc) { if (!is_a($conc, "Conc")) { throw new Exception("Not a Conc: " . var_export($conc, true)); } } $this->concs = $concs; }