コード例 #1
0
ファイル: StrTest.php プロジェクト: laradic/support
 public function testCanLooselyToggleBetweenStrings()
 {
     $toggle = Str::toggle('dei', 'foo', 'bar', true);
     $this->assertEquals('foo', $toggle);
 }