public function setFirstName($fname)
    {
        if (!is_string($fname)) {
            $fname = strval($fname);
        }

        $this->fname = $fname;
    }
public function setFirstName($fname)
    {
        if (!is_string($fname)) {
            $fname = strval($fname);
        }

        $this->fname = $fname;
    }
public function setFirstName ( $ fname ) { if ( ! is_string ( $ fname ) ) { $ fname = strval ( $ fname ) ; } $ this -> fname = $ fname ; }
Sets the first name.

@param string $fname firstname

@return void
Sets the first name .