20 lines
285 B
PHP
20 lines
285 B
PHP
<?php
|
|
|
|
namespace Aviat\Ion;
|
|
|
|
use Aviat\Ion\Type\StringType;
|
|
|
|
trait StringWrapper {
|
|
|
|
/**
|
|
* Wrap the String in the Stringy class
|
|
*
|
|
* @param string $str
|
|
* @return StringType
|
|
*/
|
|
public function string($str)
|
|
{
|
|
return StringType::create($str);
|
|
}
|
|
}
|
|
// End of StringWrapper.php
|