This method helps for applications that want to implement
router caching.
public static __set_state ( array $fields ) : |
||
$fields | array | Key/Value of object attributes |
return | A new instance of the route |