make() публичный статический Метод

Create a new collection instance if the value isn't one already.
public static make ( mixed $items ) : static
$items mixed
Результат static
Пример #1
0
 public function testMakeMethod()
 {
     $collection = Collection::make('foo');
     $this->assertEquals(array('foo'), $collection->all());
 }