![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Indexer/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Indexer; /** * @api Retrieve status of the Indexer * @since 100.0.2 */ interface StateInterface { /** * Indexer statuses */ const STATUS_WORKING = 'working'; const STATUS_VALID = 'valid'; const STATUS_INVALID = 'invalid'; /** * Return indexer id * * @return string */ public function getIndexerId(); /** * Set indexer id * * @param string $value * @return $this */ public function setIndexerId($value); /** * Return status * * @return string */ public function getStatus(); /** * Return updated * * @return string */ public function getUpdated(); /** * Set updated * * @param string $value * @return $this */ public function setUpdated($value); /** * Fill object with state data by view ID * * @param string $indexerId * @return $this */ public function loadByIndexer($indexerId); /** * Status setter * * @param string $status * @return $this */ public function setStatus($status); }