public function setPrincipalImage(\Elcodi\Component\Media\Entity\Interfaces\ImageInterface $principalImage = null)
    {
        $this->principalImage = $principalImage;

        return $this;
    }
public function setPrincipalImage(\Elcodi\Component\Media\Entity\Interfaces\ImageInterface $principalImage = null)
    {
        $this->principalImage = $principalImage;

        return $this;
    }
public function setPrincipalImage ( \ Elcodi \ Component \ Media \ Entity \ Interfaces \ ImageInterface $ principalImage = null ) { $ this -> principalImage = $ principalImage ; return $ this ; }
Set the principalImage.

@param \Elcodi\Component\Media\Entity\Interfaces\ImageInterface $principalImage Principal image

@return $this Self object
Set the principalImage .