if (!class_exists($partClass)) {
// Nicht vorhanden, dann Ausnahme werfen!
throw new NoClassException($partClass, self::EXCEPTION_CLASS_NOT_FOUND);
- } // END - if
+ }
// Get an instance back from our object factory
$partInstance = ObjectFactory::createObjectByName($partClass);
// STUB: Getter-Methode Anzahl Betten
public function calcTotalBeds () {
- $this->partialStub("Please implement this stub in your ship!");
+ DebugMiddleware::getSelfInstance()->partialStub('Please implement this stub in your ship!');
}
// Setter-Methode fuer Schiffsnamen