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