gitea/src/ca53d4cb-7800-4ea2-b06e-746.../README.md

2.3 KiB

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

class Labels (Details)

namespace: VDM\Joomla\Gitea extends: Api

@startuml
class Labels  #Gold {
  + create(string $owner, string $repo, ...) : ?object
  + get(string $owner, string $repo, ...) : ?object
  + delete(string $owner, string $repo, ...) : string
  + update(string $owner, string $repo, ...) : ?object
}

note right of Labels::create
  Create a label.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $owner
    string $repo
    string $labelName
    string $labelColor
    string $labelDescription = ''
end note

note right of Labels::get
  Get a single label.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $owner
    string $repo
    string $id
end note

note right of Labels::delete
  Delete a label.

  since: 3.2.0
  return: string
  
  arguments:
    string $owner
    string $repo
    string $id
end note

note right of Labels::update
  Update a label.

  since: 3.2.0
  return: ?object
  
  arguments:
    string $owner
    string $repo
    string $id
    string $labelName = ''
    string $labelColor = ''
    string $labelDescription = ''
end note
 
@enduml

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

Build with Joomla Component Builder