public function __construct($uri, $name = "") { $this->uri = (string) $uri; $this->name = (string) $name; }