src/Source.php
public function setDistFiles(Collection $distFiles)
    {
        if ($distFiles->getType() !== DistFile::class) {
            throw new \UnexpectedValueException('The Collection is not of DistFile type');
        }

        $this->distFiles = $distFiles;
    }
public function setDistFiles(Collection $distFiles)
    {
        if ($distFiles->getType() !== DistFile::class) {
            throw new \UnexpectedValueException('The Collection is not of DistFile type');
        }

        $this->distFiles = $distFiles;
    }
public function setDistFiles ( Collection $ distFiles ) { if ( $ distFiles -> getType ( ) !== DistFile :: class ) { throw new \ UnexpectedValueException ( 'The Collection is not of DistFile type' ) ; } $ this -> distFiles = $ distFiles ; }
Gets the value of distFiles.

@param Collection|DistFile[] $distFiles

@throws \UnexpectedValueException
Gets the value of distFiles .