public function __construct($ns, $path) { $this->ns = (string) str_replace('\\', '\\\\', $ns); if (!is_array($path)) { $path = (array) $path; } $this->path = $path; }