Model/User.php
public function setExtraData(array $extraData)
    {
        $this->extraData = [];

        foreach ($extraData as $item) {
            $this->addExtraData($item);
        }

        return $this;
    }
public function setExtraData(array $extraData)
    {
        $this->extraData = [];

        foreach ($extraData as $item) {
            $this->addExtraData($item);
        }

        return $this;
    }
public function setExtraData ( array $ extraData ) { $ this -> extraData = [ ] ; foreach ( $ extraData as $ item ) { $ this -> addExtraData ( $ item ) ; } return $ this ; }
Sets the "extraData" of the User.

@param ExtraData[] $extraData

@return User
Sets the extraData of the User .