mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 08:17:22 +01:00
Add Initial teamcity support
This commit is contained in:
@ -76,4 +76,9 @@ final class Str
|
||||
|
||||
return substr($subject, 0, $pos);
|
||||
}
|
||||
|
||||
public static function after(string $subject, string $search): string
|
||||
{
|
||||
return $search === '' ? $subject : array_reverse(explode($search, $subject, 2))[0];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user