* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Grid\Action; use Iterator; /** * Interface GridActionCollectionInterface defines contract for grid action collection. */ interface GridActionCollectionInterface extends Iterator { /** * Add grid action to collection. * * @param GridActionInterface $action * * @return self */ public function add(GridActionInterface $action); /** * Get grid panel actions as array. * * @return array */ public function toArray(); }