src/Security/Member.php
public function setName($name)
    {
        $nameParts = explode(' ', $name);
        $this->Surname = array_pop($nameParts);
        $this->FirstName = join(' ', $nameParts);
    }
public function setName($name)
    {
        $nameParts = explode(' ', $name);
        $this->Surname = array_pop($nameParts);
        $this->FirstName = join(' ', $nameParts);
    }
public function setName ( $ name ) { $ nameParts = explode ( ' ' , $ name ) ; $ this -> Surname = array_pop ( $ nameParts ) ; $ this -> FirstName = join ( ' ' , $ nameParts ) ; }
Set first- and surname

This method assumes that the last part of the name is the surname, e.g.
<i>A B C</i> will result in firstname <i>A B</i> and surname <i>C</i>

@param string $name The name
Set first - and surname