コード例 #1
0
ファイル: Admin.php プロジェクト: M03G/PrestaShop
 /**
  * Constructor.
  *
  * @param LegacyContext $context
  * @param TokenStorage $securityTokenStorage
  */
 public function __construct(LegacyContext $context, TokenStorage $securityTokenStorage, UserProviderInterface $userProvider)
 {
     $this->context = $context;
     $this->legacyContext = $context->getContext();
     $this->securityTokenStorage = $securityTokenStorage;
     $this->userProvider = $userProvider;
 }
コード例 #2
0
ファイル: EmployeeProvider.php プロジェクト: M03G/PrestaShop
 /**
  * Constructor.
  *
  * @param LegacyContext $context
  */
 public function __construct(LegacyContext $context)
 {
     $this->legacyContext = $context->getContext();
 }