public function addRequires(array $requires, $dev = false)
    {
        foreach ($requires as $vendor => $version) {
            if (!isset($vendor) || !isset($version)) {
                continue;
            }

            if (!$dev) {
                $this->addRequire($vendor, $version);
            } else {
                $this->addDevRequire($vendor, $version);
            }
        }

        return $this;
    }