private function populatePaths($paths)
    {
        if (!is_array($paths)) {
            $paths = array($paths);
        }

        foreach ($paths as $path) {
            if ($path[0] !== "/" && $path[0] !== "*") {
                throw new InvalidArgumentException("Invalid handler path specified");
            }

            $this->handlerPaths[] = $path;
        }
    }