File: docs/images/detection-algorithm.puml

Recommend this page to a friend!
  Classes of jawira  >  PHP Case Convert  >  docs/images/detection-algorithm.puml  >  Download  
File: docs/images/detection-algorithm.puml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Case Convert
Convert strings between many naming conventions
Author: By
Last change:
Date: 10 months ago
Size: 426 bytes
 

Contents

Class file image Download
@startuml
start
if ($input  contains "**_**") then (yes)
  :Split using "**_**";
elseif ($input contains "**-**") then (yes)
  :Split using "**-**";
elseif ($input contains "**?**") then (yes)
  :Split using "**?**";
elseif ($input contains "**.**") then (yes)
  :Split using "**.**";
elseif ($input is in uppercase only) then (yes)
  :$input is a single word;
else (no)
  :Split using capital letters;
endif
stop
@enduml

For more information send a message to info at phpclasses dot org.