Class Str
String helper.
- Docolight\Support\Str uses Docolight\Support\Traits\Macroable
Namespace: Docolight\Support
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docolight/Support/Str.php
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docolight/Support/Str.php
Methods summary
public static
string
|
|
public static
boolean
|
|
public static
boolean
|
|
public static
string
|
|
public static
boolean
|
|
public static
integer
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
array
|
#
parseCallback( string $callback, string $default )
Parse a Class@method style callback into class and method. |
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
boolean
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
boolean
|
#
startsWith( string $haystack, string|array $needles )
Determine if a given string starts with a given substring. |
public static
string
|
|
public static
mixed
|
|
public static
mixed
|
Methods used from Docolight\Support\Traits\Macroable
Properties summary
protected static
array
|
$snakeCache
The cache of snake-cased words. |
#
[]
|
protected static
array
|
$camelCache
The cache of camel-cased words. |
#
[]
|
protected static
array
|
$studlyCache
The cache of studly-cased words. |
#
[]
|