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