EzSystems\PlatformBehatBundle\Context\RepositoryContext::loginAdmin PHP Method

loginAdmin() public method

public loginAdmin ( $event )
    public function loginAdmin($event)
    {
        $this->repository->setCurrentUser(new UserReference($this->adminUserId));
    }