public function unboxPrimitive()
 {
     $this->assertEquals(1, Primitive::unboxed(1));
 }
Esempio n. 2
0
 public function cannot_cast_maps_to_primitives($name)
 {
     Primitive::forName($name)->cast(['one' => 'two']);
 }