BlogBundle/Entity/PostTranslation.php
public function setShortDescription($shortDescription)
    {
        $this->shortDescription = $shortDescription;
        if($this->shortDescription == '') $this->shortDescription = strip_tags(substr ($this->shortDescription, 0, 200));

        return $this;
    }
public function setShortDescription($shortDescription)
    {
        $this->shortDescription = $shortDescription;
        if($this->shortDescription == '') $this->shortDescription = strip_tags(substr ($this->shortDescription, 0, 200));

        return $this;
    }
Set shortDescription

@param string $shortDescription

@return PostTranslation