src/AbstractUser.php
public function map(array $attributes)
    {
        foreach ($attributes as $key => $value) {
            $this->{$key} = $value;
        }

        return $this;
    }
public function map(array $attributes)
    {
        foreach ($attributes as $key => $value) {
            $this->{$key} = $value;
        }

        return $this;
    }
public function map ( array $ attributes ) { foreach ( $ attributes as $ key => $ value ) { $ this -> { $ key } = $ value ; } return $ this ; }
Map the given array onto the user's properties.

@param  array  $attributes
@return $this
Map the given array onto the user s properties .