jcb-compiler/src/0419081e-4cb3-4c65-8c6a-ffe...
Llewellyn van der Merwe 7d969e9a52
update 2023-04-15 16:49:30
2023-04-15 16:49:36 +02:00
..
README.md Adds the code.power needed for importing, and more. 2023-04-13 17:44:10 +02:00
code.php update 2023-04-15 16:49:30 2023-04-15 16:49:36 +02:00
code.power update 2023-04-15 16:49:30 2023-04-15 16:49:36 +02:00
settings.json update 2023-04-15 16:49:30 2023-04-15 16:49:36 +02:00

README.md

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

class Infusion (Details)

namespace: VDM\Joomla\Componentbuilder\Compiler\Power

@startuml
class Infusion  #Gold {
  # Config $config
  # Power $power
  # Content $content
  # Autoloader $autoloader
  # Parser $parser
  # RepoReadme $reporeadme
  # ReposReadme $reposreadme
  # Placeholder $placeholder
  # Event $event
  # array $linker
  + __construct(?Config $config = null, ?Power $power = null, ...)
  + set() : void
  - parsePowers() : void
  - setSuperPowers() : void
  - setPowers() : void
  - index(array $powers) : string
  - code(object $power) : string
  - raw(object $power) : string
  - linker(object $power) : string
}

note right of Infusion::__construct
  Constructor.

  since: 3.2.0
  
  arguments:
    ?Config $config = null
    ?Power $power = null
    ?Content $content = null
    ?Autoloader $autoloader = null
    ?Parser $parser = null
    ?RepoReadme $reporeadme = null
    ?ReposReadme $reposreadme = null
    ?Placeholder $placeholder = null
    ?Event $event = null
end note

note left of Infusion::set
  Infuse the powers data with the content

  since: 3.2.0
  return: void
end note

note right of Infusion::parsePowers
  We parse the powers to get the class map of all methods

  since: 3.2.0
  return: void
end note

note left of Infusion::setSuperPowers
  Set the Super Powers details

  since: 3.2.0
  return: void
end note

note right of Infusion::setPowers
  Set the Powers code

  since: 3.2.0
  return: void
end note

note left of Infusion::index
  Build the Super Power Index

  since: 3.2.0
  return: string
end note

note right of Infusion::code
  Get the Power code

  since: 3.2.0
  return: string
end note

note left of Infusion::raw
  Get the Raw (unchanged) Power code

  since: 3.2.0
  return: string
end note

note right of Infusion::linker
  Get the Power Linker

  since: 3.2.0
  return: string
end note
 
@enduml

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

Build with Joomla Component Builder