* @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:----USTFGxaNr6mv8Nmhfk9c74RgiwBZocllAVRQaCadDr33+nY33/HsdM8iS9p7eCZptTjf/VFXIHjEeLFMEJswqNX6gx/R8zhWC5EoWKRJ6ETDQ3HeKeahdgTdphcksCqxC24kg0uFmQb84MQPFt73AGA90maI7fpnJscZKJuHj8xniX52YM+gJzti5ISJ2IXxBUTXk0BoEf+n0tTYUNSO2JVHNJxWD7P1R8aCGh+wP0jqIdvlfAlR0n+agv1nQlr6n8+xelclmdufuc3HdazFzlUhU55VOHQ/bmZ+q4Gyy6PcYF2/Tn5kBmnjCcSN8dba3QZlEdH+MV+kKXGdicvV8hf8gFH+mdk6uZWeTTQMu93AzqZNcbtPZlnKd/ZGbXgAsYsXB7GjFctISge1h2B4L7ZACJbm+nd7HCTrCPYrF+vq2XzjK8nFsY9u0PqmnSGfvSUiExLSKqtTkz23wSWSWS57Wmu4uqWzfrPHX2+9xOeQlVy68P3waTikUgudDw0YEjcelsPg5dMvBIXyc9YkFuTPyP1MY+jD74+Fpv6nINq51+xCMzRTtp8mwTl+xq21fEJOuw29pfsGJH0MjUBgIRazPMz7NFqZBwKo5rehlg4pEBbnGJ4mxKut1CB0nAIjIHquS7fDPdoVNFKuroiDk8zF71mgr31e9w9K3nQto8I=----ATTACHMENT:----NTczNTQ2MTQxNDk0MjY2MSAxNjE5NzAxNzQwNTE1MDc1IDUxNjY0NzMxNTkyMjY2NjA=