Skip to content

Commit c715c73

Browse files
committed
IHF: Str helpers added.
1 parent a9e1a1e commit c715c73

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/str.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
use Illuminate\Support\Str;
4+
5+
if (!function_exists('str_lower')) {
6+
function str_lower($string)
7+
{
8+
return Str::lower($string);
9+
}
10+
}
11+
12+
if (!function_exists('str_upper')) {
13+
function str_upper($string)
14+
{
15+
return Str::upper($string);
16+
}
17+
}

0 commit comments

Comments
 (0)