public function setName($value)
    {
        $names = explode(' ', $value, 2);
        $this->setFirstName($names[0]);
        $this->setLastName(isset($names[1]) ? $names[1] : null);

        return $this;
    }
public function setName($value)
    {
        $names = explode(' ', $value, 2);
        $this->setFirstName($names[0]);
        $this->setLastName(isset($names[1]) ? $names[1] : null);

        return $this;
    }
public function setName ( $ value ) { $ names = explode ( ' ' , $ value , 2 ) ; $ this -> setFirstName ( $ names [ 0 ] ) ; $ this -> setLastName ( isset ( $ names [ 1 ] ) ? $ names [ 1 ] : null ) ; return $ this ; }
Sets the individual name.

@param string $value
@return $this
Sets the individual name .