alias() public static method

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