public function __construct($path, $url = '') { $this->path = strtr($path, '\\', '/'); $this->url = $url; }