Newscoop\Entity\OutputSettings::setOutput PHP Method

setOutput() public method

Set the output that is the owner of this settings.
public setOutput ( Output $output ) : Newscoop\Entity\OutputSetting
$output Output The output that is the owner of this settings, must not be null or empty.
return Newscoop\Entity\OutputSetting This object for chaining purposes.
    function setOutput(Output $output)
    {
        Validation::notEmpty($output, 'output');
        $this->output = $output;
        return $this;
    }