Newscoop\Entity\AbstractEntity::setId PHP Method

setId() public method

Set the id of the output, this will uniquielly identify this output.
public setId ( $id ) : Newscoop\Entity\Entity
return Newscoop\Entity\Entity This object for chaining purposes.
    public function setId($id)
    {
        $this->id = $id;
        return $this;
    }
AbstractEntity