* @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\Security; use PrestaShop\PrestaShop\Core\Exception\FileNotFoundException; use PrestaShop\PrestaShop\Core\Exception\IOException; /** * Interface used to protect a folder (via htaccess file, index.php redirection file, ...) */ interface FolderGuardInterface { /** * @param string $folderPath * * @throws IOException * @throws FileNotFoundException */ public function protectFolder($folderPath); }