jcb-compiler/src/369ae3f5-90db-43b9-aba9-ce5...
Robot dc62360576
update 2023-10-04 18:35:53
2023-10-04 20:28:29 +02:00
..
README.md update 2023-10-04 18:35:53 2023-10-04 20:28:29 +02:00
code.php update 2023-10-04 18:35:53 2023-10-04 20:28:29 +02:00
code.power update 2023-10-04 18:35:53 2023-10-04 20:28:29 +02:00
settings.json update 2023-10-04 18:35:53 2023-10-04 20:28:29 +02:00

README.md

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

final class ServiceProvider (Details)

namespace: VDM\Joomla\Componentbuilder\Power\Generator

@startuml
class ServiceProvider << (F,LightGreen) >> #RoyalBlue {
  # string $version
  # array $registerlines
  # array $getfunctions
  + getCode() : ?string
  + setVersion(string $version) : void
  + setRegisterLine(string $className, string $functionName, ...) : void
  + setGetFunction(string $className, string $functionName, ...) : void
  # getAlias(string $className, string $alias) : string
  # getShare(string $functionName, string $alias) : string
  # getDependencies(string $className, ?array $dependencies = null) : string
}

note right of ServiceProvider::getCode
  Get the generated class code

  since: 3.2.0
  return: ?string
end note

note right of ServiceProvider::setVersion
  Set the class since version

  since: 3.2.0
  return: void
end note

note right of ServiceProvider::setRegisterLine
  Set the class alias and share code for the service provider register.

  since: 3.2.0
  return: void
  
  arguments:
    string $className
    string $functionName
    string $alias
end note

note right of ServiceProvider::setGetFunction
  Set the class get function for the service provider.

  since: 3.2.0
  return: void
  
  arguments:
    string $className
    string $functionName
    string $description
    ?array $dependencies = null
end note

note right of ServiceProvider::getAlias
  Generates the class alias for the service provider.

  since: 3.2.0
  return: string
end note

note right of ServiceProvider::getShare
  Generates the class share for the service provider.

  since: 3.2.0
  return: string
end note

note right of ServiceProvider::getDependencies
  Generates the class dependencies.

  since: 3.2.0
  return: string
end note
 
@enduml

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

Build with Joomla Component Builder