original_string: protected function getPermissionsUserRole($chunked = false)
      {
          $permissions = $this->role->getPermissions();
          return $chunked ? gplcart_array_split($permissions, 3) : $permissions;
      }
code: protected function getPermissionsUserRole($chunked = false)
      {
          $permissions = $this->role->getPermissions();
          return $chunked ? gplcart_array_split($permissions, 3) : $permissions;
      }
code_tokens: protected function getPermissionsUserRole ( $ chunked = false ) { $ permissions = $ this -> role -> getPermissions ( ) ; return $ chunked ? gplcart_array_split ( $ permissions , 3 ) : $ permissions ; }
docstring: Returns an array of permissions
  @param bool $chunked
  @return array
docstring_tokens: Returns an array of permissions