public function alias(callable $callback)
    {
        $fqn = $this->function_name->fullyQualifiedName();
        \Patchwork\redefine($fqn, $callback);
        $this->assertRedefined($fqn);
    }
public function alias(callable $callback)
    {
        $fqn = $this->function_name->fullyQualifiedName();
        \Patchwork\redefine($fqn, $callback);
        $this->assertRedefined($fqn);
    }
public function alias ( callable $ callback ) { $ fqn = $ this -> function_name -> fullyQualifiedName ( ) ; \ Patchwork \ redefine ( $ fqn , $ callback ) ; $ this -> assertRedefined ( $ fqn ) ; }
Redefine target function replacing it on the fly with a given callable.

@param callable $callback
Redefine target function replacing it on the fly with a given callable .