src/bbn/user/permissions.php
public function get_full($id_option = null, string $type = 'page'): ?array
  {
    if ( $id_option = $this->_get_id_option($id_option, $type) ){
      return $this->pref->full_options($id_option ?: $this->get_current());
    }
    return null;
  }
public function get_full($id_option = null, string $type = 'page'): ?array
  {
    if ( $id_option = $this->_get_id_option($id_option, $type) ){
      return $this->pref->full_options($id_option ?: $this->get_current());
    }
    return null;
  }
public function get_full ( $ id_option = null , string $ type = 'page' ) : ? array { if ( $ id_option = $ this -> _get_id_option ( $ id_option , $ type ) ) { return $ this -> pref -> full_options ( $ id_option ? : $ this -> get_current ( ) ) ; } return null ; }
Returns the full list of permissions existing in the given option with all the current user's preferences

@param null|string $id_option
@param string $type
@return array|bool|false
Returns the full list of permissions existing in the given option with all the current user s preferences