* @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\Position; /** * Interface PositionModificationInterface contains the modification for a * designated row. */ interface PositionModificationInterface { /** * The row id allowing to match it. * * @return string|int */ public function getId(); /** * The former row position. * * @return int */ public function getOldPosition(); /** * The new row position. * * @return int */ public function getNewPosition(); }