alias() public static méthode

Aliases the user id from a temporary id to a permanent one
public static alias ( array $message ) : boolean
$message array
Résultat boolean whether the alias call succeeded
 function testAlias()
 {
     $this->assertTrue(Segment::alias(array("previousId" => "previous-id", "userId" => "user-id")));
 }