HummingBirdAnimeClient/src/Aviat/Ion/StringWrapper.php

20 lines
276 B
PHP
Raw Normal View History

2015-10-01 16:02:51 -04:00
<?php
namespace Aviat\Ion;
use Stringy\Stringy as S;
trait StringWrapper {
/**
* Wrap the String in the Stringy class
*
* @param string $str
* @return Stringy\Stringy
*/
public function string($str)
{
return S::create($str);
}
}
// End of StringWrapper.php