* @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\Employee\Access; /** * Interface ProfileAccessCheckerInterface describes a profile access checker. */ interface ProfileAccessCheckerInterface { /** * Checks if given employee can access given profile. * * @param int $employeeId * @param int $profileId * * @return bool */ public function canEmployeeAccessProfile($employeeId, $profileId); }