<?php

namespace App\Contracts;

use Illuminate\Support\Collection;

interface CollectsScanOutput
{
    /**
     * Get the Asset related data as a Collection
     * 
     * @return Collection
     */
    function exportForAsset(): Collection;

    /**
     * Get the Vulnerability related data as a Collection
     *
     * @return Collection
     */
    function exportForVulnerability(): Collection;

    /**
     * Get the Vulnerability Reference related data as a Collection
     *
     * @return Collection
     */
    function exportForVulnerabilityReference(): Collection;

    /**
     * Get the System Information related data as a Collection
     *
     * @return Collection
     */
    function exportOpenPorts(): Collection;
}
<?php

namespace App\Contracts;

use Illuminate\Support\Collection;

interface CollectsScanOutput
{
    /**
     * Get the Asset related data as a Collection
     * 
     * @return Collection
     */
    public function exportForAsset(): Collection;

    /**
     * Get the Vulnerability related data as a Collection
     *
     * @return Collection
     */
    public function exportForVulnerability(): Collection;

    /**
     * Get the Vulnerability Reference related data as a Collection
     *
     * @return Collection
     */
    public function exportForVulnerabilityReference(): Collection;

    /**
     * Get the System Information related data as a Collection
     *
     * @return Collection
     */
    public function exportOpenPorts(): Collection;

    /**
     * Get the Software Information data as a Collection
     *
     * @return Collection
     */
    public function exportSoftwareInformation(): Collection;
}
Include exportSoftwareInformation() method in the contract
Include exportSoftwareInformation() method in the contract
