gitea/src/3d7af7a2-dabe-4111-b5fd-c5b...
Robot 12042ffd4d
update 2024-04-07 13:20:18
2024-04-07 13:20:22 +02:00
..
README.md update 2023-10-24 10:36:32 2023-10-24 10:36:35 +02:00
code.php update 2023-10-24 10:36:32 2023-10-24 10:36:35 +02:00
code.power update 2023-10-24 10:36:32 2023-10-24 10:36:35 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:22 +02:00

README.md

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

abstract class Api (Details)

namespace: VDM\Joomla\Gitea\Abstraction

@startuml
abstract Api  #Orange {
  # Http $http
  # Uri $uri
  # Response $response
  # ?string $url
  # ?string $token
  + __construct(Http $http, Uri $uri, ...)
  + load_(?string $url = null, ?string $token = null, ...) : void
  + reset_() : void
  + api() : string
}

note right of Api::__construct
  Constructor.

  since: 3.2.0
  
  arguments:
    Http $http
    Uri $uri
    Response $response
end note

note right of Api::load_
  Load/Reload API.

  since: 3.2.0
  return: void
  
  arguments:
    ?string $url = null
    ?string $token = null
    bool $backup = true
end note

note right of Api::reset_
  Reset to previous toke, url it set

  since: 3.2.0
  return: void
end note

note right of Api::api
  Get the API url

  since: 3.2.0
  return: string
end note
 
@enduml

     ██╗ ██████╗██████╗
     ██║██╔════╝██╔══██╗
     ██║██║     ██████╔╝
██   ██║██║     ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
 ╚════╝  ╚═════╝╚═════╝

Build with Joomla Component Builder