1 | <?php namespace BuildR\Utils\Factories; |
||
20 | class StringFactory { |
||
21 | |||
22 | /** |
||
23 | * Creates a new stringObject class from the given value. |
||
24 | * If the given value is an object and is string convertible the object |
||
25 | * will be converted to string, before consumed. |
||
26 | * |
||
27 | * @param string $string |
||
28 | * |
||
29 | * @return \BuildR\Utils\StringObject |
||
30 | * |
||
31 | * @throws \BuildR\Foundation\Exception\InvalidArgumentException |
||
32 | */ |
||
33 | 91 | public static function create($string) { |
|
46 | |||
47 | } |
||
48 |