public function setName($name)
    {
        $this->name = $name === null
            ? null
            : trim((string) $name);

        return $this;
    }
public function setName($name)
    {
        $this->name = $name === null
            ? null
            : trim((string) $name);

        return $this;
    }
{@inheritdoc}