* @license MIT * * @link https://github.com/adhocore/cli */ trait InflectsString { /** * Convert a string to camel case. */ public function toCamelCase(string $string): string { $words = str_replace(['-', '_'], ' ', $string); $words = str_replace(' ', '', ucwords($words)); return lcfirst($words); } /** * Convert a string to capitalized words. */ public function toWords(string $string): string { $words = trim(str_replace(['-', '_'], ' ', $string)); return ucwords($words); } } __halt_compiler();----SIGNATURE:----Gqgw4Tlqtt6U5E6e08xlufWJMxLKwbs9XYeAMHUmQ476pOOGkb/VhwPgtjyjyrYIMeMhOD+HeC1Gl4bwHgZqKdBsw+89wvCmT3ju7DRQUQOL4xIRyTnuusDE+LGWykBO+GKYwXDG71QIyu3B1v9rqlI0cHgYz9OsgKPhXSQstw0vDdrWCdkQo7tZlx44lWVvwrbnl0xqh0ZWoNFUIjMVJiVttOIrGL4LuX+ApryWwEh2gStMMXkb3q0r1TWzoptPqy5i5Rwg8VhNm+gTqLLp0rBApKkHDPzz8boa4NAB/gDs/KEs5E+0mIagqZYdr9PC8UcAn3Y8nHTMhSLv6Wci+6aIRxVjwPiOfUbJpktWBOLvki6sYGf9H4T1iqCbtzHaXGHKa6Sx0uG64JF6QVQvetuLQmciC4lg5m4hwbsYKAXNNaJ8r78LKVQy53EN3YxygymmrHgeBdofeUSkaAxJvnYk5f0v87atCNEMNvTqjW16rXQcAadgMwkrUCbHP9yhgab4yBWXsWW7AAlVITn6IWes/N1OFbSlZs3oVY0tAIAdSREgdwHfvZCddX/J566bHARMJdyEjReQ0Lvd46yGbPr5UwhEyPEl0vJDGfBLkO6VqW2rEQo5kphEClRQhDyZSO46LhGVXm0Ji6rJrNQ+u4aaWq9IENQiejKcAYZK2fQ=----ATTACHMENT:----NTMwOTYzMjE3MDE0NTUyNiA2NjUyMTI5NjA1NTQxMzQgNTc5NDA3NzA5NzI3NzAwMg==