Tryy Class ========== .. php:class:: Tryy Represents a `try` clause in a :php:class:`TryCatch` object .. php:method:: __construct() Create a new Tryy :returns: A new ``Tryy`` instance :rtype: Tryy .. php:method:: addItem(ItemInterface ...$item) Add items to the Tryy section :param string ItemInterface ...$item: The item(s) :returns: A new instance of ``Tryy`` with the item(s) added :rtype: Tryy .. php:method:: withComment(string $comment) Set a comment for the Tryy :param string $comment: The comment :returns: A new instance of ``Tryy`` with the comment :rtype: Tryy .. php:method:: withItem(ItemInterface ...$item) Set the Tryy section items :param string ItemInterface ...$item: The item(s) :returns: A new instance of ``Tryy`` with the item(s) :rtype: Tryy