function _tap($object, $interceptor)
{
    return Underscore::tap($object, $interceptor);
}
예제 #2
0
 /**
  * @tags objects
  */
 public function testTap()
 {
     $value = "hello";
     $this->variable(_::tap($value, function (&$v) {
         $v = "world";
     }))->isEqualTo("world");
 }