*/ namespace oat\taoTests\models\runner\time; /** * Interface ExtraTime * * Describes the API needed to manage extra time added to a timer. * * @package oat\taoTests\models\runner\time */ interface ExtraTime { /** * Gets the added extra time * @return float */ public function getExtraTime(); /** * Sets the added extra time * @param float $time * @return ExtraTime */ public function setExtraTime($time); /** * Gets the amount of already consumed extra time. If tags are provided, only take care of the related time. * @param string|array $tags A tag or a list of tags to filter * @return float */ public function getConsumedExtraTime($tags = null); /** * Gets the amount of remaining extra time * @return float */ public function getRemainingExtraTime(); }