* @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:----NDXJjirGbo8h60zUZg6xDVUey3gfPJ8PrINZ8OnkLyKwlWdgeI4bR6FSqusN0biwhs5SAN4yBkEDbjIDAFkrt6dglf3yhoM/FaTPoYPCKbAwjJcRVZUaxgdcLxFzmnYhPyq1PYGKlBtxNvT49JdI8lKKPha8dZPm0CVR+N0EHrb8/natzpDeXIZi5IkiJhnkVI/J+j40QxsP1jfGGZjpXCkoPa3j1QvfwYLh12ONLAphJVaMd+6JouU++CdRraJByfiEhZSdjBUpan0jpOQR0c5k84A0zpSTlpZdckg8nILtTgcb4FLmQhCMrKunLSmas6Aa4qFXfVHv/n8FZEADAV+KiB274pxWjCOxCOlpKZISZZWTQ4Pv+G7w8OCmi8QCLXM4WqbX1lZbGzL+mMKASxXPbpvPgPCjRI4O0NlULtS0dSMSKRLaS/GpCr3XjjoHNyOZauKFJWcXYVPQKhfMEZlLMyyglzLAhEU4Q/oRTWRJWKUqVZQ5Aw05te3F2LNfXKtDew0TmLa8Q4GV+c+a42WX4XstC6x0ilb75JLqYYTsR4FeX3Wcu/O3snJMmng0MC7FwK9i/NNXctBjvpcO6ZM/S9rLfZ1+7fyyelAysQ0GNsyJ+hh4U8GimMigHxztTm+zu4s5rfnYT6RuLe46DfQ/my2CqYX0+irYcbDeGRs=----ATTACHMENT:----NDgxMzcwMzMyMzM1NjgyNyA1MzkyMzA1MDk5NzQzOTcwIDI4NTg2ODQyMjczMDI4NTg=