Skip to content

Instantly share code, notes, and snippets.

@lukeraymonddowning
Last active August 4, 2022 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukeraymonddowning/c395b1e28b9f3790b55c0d0c6ec0ffcc to your computer and use it in GitHub Desktop.
Save lukeraymonddowning/c395b1e28b9f3790b55c0d0c6ec0ffcc to your computer and use it in GitHub Desktop.
<?php
namespace App;
class Str
{
public static function lower($subject)
{
return strtolower($subject);
}
}
<?php
use App\Str;
it('works', function () {
expect(Str::lower('FOO'))->toBe('foo');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment