Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
NameBuilder.php
Go to the documentation of this file.
1 <?php
8 namespace Magento\Framework\Code;
9 
11 {
21  public function buildClassName($parts)
22  {
23  $separator = '\\';
24  $string = join($separator, $parts);
25  $string = str_replace('_', $separator, $string);
26  $className = str_replace(' ', $separator, ucwords(str_replace($separator, ' ', $string)));
27  return $className;
28  }
29 }
if($currentSelectedMethod==$_code) $className
Definition: form.phtml:31