Elcodi\Store\ConnectBundle\Services\OAuthUserProvider::__construct PHP Method

__construct() public method

Constructor
public __construct ( Symfony\Component\Security\Core\User\UserProviderInterface $userProvider, Elcodi\Component\Core\Services\ObjectDirector $authorizationDirector, Elcodi\Component\Core\Services\ObjectDirector $customerDirector, Doctrine\Common\Persistence\ObjectManager $authorizationObjectManager, Elcodi\Component\User\EventDispatcher\Interfaces\UserEventDispatcherInterface $userEventDispatcher )
$userProvider Symfony\Component\Security\Core\User\UserProviderInterface Where to search for valid users
$authorizationDirector Elcodi\Component\Core\Services\ObjectDirector Authorization Director
$customerDirector Elcodi\Component\Core\Services\ObjectDirector Customer Director
$authorizationObjectManager Doctrine\Common\Persistence\ObjectManager Customer Object Manager
$userEventDispatcher Elcodi\Component\User\EventDispatcher\Interfaces\UserEventDispatcherInterface User event dispatcher
    public function __construct(UserProviderInterface $userProvider, ObjectDirector $authorizationDirector, ObjectDirector $customerDirector, ObjectManager $authorizationObjectManager, UserEventDispatcherInterface $userEventDispatcher)
    {
        $this->userProvider = $userProvider;
        $this->authorizationDirector = $authorizationDirector;
        $this->customerDirector = $customerDirector;
        $this->authorizationObjectManager = $authorizationObjectManager;
        $this->userEventDispatcher = $userEventDispatcher;
    }