Phulp\Source::setDistFiles PHP Method

setDistFiles() public method

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