Commit 8541ff50 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1497 from bencorlett/patch-2

Allow forward slash separators in Str::classify()
parents e0dfd7c5 438caf26
......@@ -296,7 +296,7 @@ class Str {
*/
public static function classify($value)
{
$search = array('_', '-', '.');
$search = array('_', '-', '.', '/');
return str_replace(' ', '_', static::title(str_replace($search, ' ', $value)));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment