function addCards($count) { $cards = new Cards(); return "<p>Добавлено " . $cards->addItems($count) . " карт</p>"; }