jcb-compiler/src/cdc9b06d-8333-4fa7-ab4d-b81.../README.md

1.7 KiB

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

class Pathfix (Details)

namespace: VDM\Joomla\Componentbuilder\Compiler\Utilities

@startuml
class Pathfix  #Gold {
  + set(mixed $values, array $targets = []) : void
}

note right of Pathfix::set
  Fix the path to work in the JCB script <-- (main issue here)
Since we need / slash in all paths, for the JCB script even if it is Windows
and since MS works with both forward and back slashes
we just convert all slashes to forward slashes
THIS is just my hack (fix) if you know a better way! speak-up!

  since: 3.2.0
  return: void
end note
 
@enduml

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

Build with Joomla Component Builder