40 lines
1.6 KiB
Markdown
40 lines
1.6 KiB
Markdown
|
```
|
||
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
||
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
||
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
||
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
||
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
||
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
||
|
```
|
||
|
# abstract class ComponentCodeNameHelper (Details)
|
||
|
> namespace: **VDM\Joomla\Utilities\String**
|
||
|
```uml
|
||
|
@startuml
|
||
|
abstract ComponentCodeNameHelper #Orange {
|
||
|
+ {static} safe(string $string) : string
|
||
|
}
|
||
|
|
||
|
note right of ComponentCodeNameHelper::safe
|
||
|
Making component code name safe for namespacing.
|
||
|
This function processes a given string to format it according to PHP namespace naming conventions.
|
||
|
ensures no spaces or underscores are present.
|
||
|
|
||
|
since: 3.2.1
|
||
|
return: string
|
||
|
end note
|
||
|
|
||
|
@enduml
|
||
|
```
|
||
|
|
||
|
---
|
||
|
```
|
||
|
██╗ ██████╗██████╗
|
||
|
██║██╔════╝██╔══██╗
|
||
|
██║██║ ██████╔╝
|
||
|
██ ██║██║ ██╔══██╗
|
||
|
╚█████╔╝╚██████╗██████╔╝
|
||
|
╚════╝ ╚═════╝╚═════╝
|
||
|
```
|
||
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||
|
|