public function raw(array $attributes = [])
    {
        if ($this->amount === null) {
            return $this->getRawAttributes($attributes);
        }

        if ($this->amount < 1) {
            return [];
        }

        return array_map(function () use ($attributes) {
            return $this->getRawAttributes($attributes);
        }, range(1, $this->amount));
    }
public function raw(array $attributes = [])
    {
        if ($this->amount === null) {
            return $this->getRawAttributes($attributes);
        }

        if ($this->amount < 1) {
            return [];
        }

        return array_map(function () use ($attributes) {
            return $this->getRawAttributes($attributes);
        }, range(1, $this->amount));
    }
public function raw ( array $ attributes = [ ] ) { if ( $ this -> amount === null ) { return $ this -> getRawAttributes ( $ attributes ) ; } if ( $ this -> amount < 1 ) { return [ ] ; } return array_map ( function ( ) use ( $ attributes ) { return $ this -> getRawAttributes ( $ attributes ) ; } , range ( 1 , $ this -> amount ) ) ; }
Create an array of raw attribute arrays.

@param  array  $attributes
@return mixed
Create an array of raw attribute arrays .