* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Domain\Profile\Permission\Query; use PrestaShop\PrestaShop\Core\Domain\Profile\ValueObject\ProfileId; /** * Get profile permissons data for configuration */ class GetPermissionsForConfiguration { /** * @var ProfileId */ private $employeeProfileId; /** * @param int $employeeProfileId Profile id of employee who configures permissions */ public function __construct(int $employeeProfileId) { $this->employeeProfileId = new ProfileId($employeeProfileId); } /** * @return ProfileId */ public function getEmployeeProfileId(): ProfileId { return $this->employeeProfileId; } }