예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->accessTokens = new ArrayCollection();
     $this->authCodes = new ArrayCollection();
     $this->refreshTokens = new ArrayCollection();
 }
예제 #2
0
 /**
  * @param string $role ( ROLE_WEB | ROLE_MOBILE )
  */
 public function __construct($role = self::ROLE_WEB)
 {
     parent::__construct();
     if ($role == self::ROLE_WEB) {
         $this->role = self::ROLE_MOBILE;
     } else {
         $this->role = self::ROLE_WEB;
     }
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->authorizations = new ArrayCollection();
     $this->owners = new ArrayCollection();
     $this->maxNotificationLevel = Notification::LEVEL_NORMAL;
     $this->allowedScopes = array('public_profile', 'openid');
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     // your own logic
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->created_at = new \DateTime();
     $this->updated_at = new \DateTime();
 }
예제 #7
0
파일: Client.php 프로젝트: quef/api-bundle
 public function __construct()
 {
     parent::__construct();
     $this->setCreatedAt(new \DateTime());
     // your own logic
 }
예제 #8
0
 public function __construct()
 {
     parent::__construct();
     $this->authorizations = new ArrayCollection();
     $this->owners = new ArrayCollection();
     $this->allowedScopes = array('public_profile', 'openid');
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->users = new ArrayCollection();
 }
예제 #10
0
 public function __construct()
 {
     parent::__construct();
     $this->authorizations = new ArrayCollection();
     $this->owners = new ArrayCollection();
     $this->maxNotificationLevel = Notification::LEVEL_NORMAL;
 }