public function __construct($typeId, $status) { parent::__construct('$typeId', sprintf('Type with ID "%s" in status "%s" still has content instances and can therefore not be deleted.', $typeId, $status)); }