* @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\Domain\ShowcaseCard\QueryHandler; use PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\Query\GetShowcaseCardIsClosed; /** * Contract for handling GetShowcaseCardIsClosed */ interface GetShowcaseCardIsClosedHandlerInterface { /** * Returns the "closed state" of a showcase command * * @param GetShowcaseCardIsClosed $query * * @return bool True if the showcase card is closed, False otherwise */ public function handle(GetShowcaseCardIsClosed $query); }