public function __construct($typeId, $status) { parent::__construct('$typeId', sprintf('Type with ID "%s" in status "%s" cannot be unlinked from its last group.', $typeId, $status)); }