alias() публичный статический Метод

Aliases the user id from a temporary id to a permanent one
public static alias ( array $message ) : boolean
$message array
Результат boolean whether the alias call succeeded
Пример #1
0
 function testAlias()
 {
     $this->assertTrue(Segment::alias(array("previousId" => "previous-id", "userId" => "user-id")));
 }