Пример #1
0
 /**
  * @return array
  */
 public function getRoles()
 {
     if (!isset($this->loadedFields['roles'])) {
         $this->loadRelation('roles');
     }
     return parent::getRoles();
 }