42 private $uc = [
'I',
'İ' ];
43 private $lc = [
'ı',
'i' ];
50 $first = mb_substr( $string, 0, 1 );
51 if ( in_array( $first, $this->
lc ) ) {
52 $first = str_replace( $this->
lc, $this->
uc, $first );
53 return $first . mb_substr( $string, 1 );
55 return parent::ucfirst( $string );
63 $first = mb_substr( $string, 0, 1 );
64 if ( in_array( $first, $this->
uc ) ) {
65 $first = str_replace( $this->
uc, $this->
lc, $first );
66 return $first . mb_substr( $string, 1 );
68 return parent::lcfirst( $string );