src/Pagination/Response.php
public function snakeFormat()
    {
        $snake = new \stdClass;
        $rawValues = get_object_vars($this);

        foreach ($rawValues as $property => $value){
            $snake->{Str::snake($property)} = $value;
        }

        return $snake;
    }
public function snakeFormat()
    {
        $snake = new \stdClass;
        $rawValues = get_object_vars($this);

        foreach ($rawValues as $property => $value){
            $snake->{Str::snake($property)} = $value;
        }

        return $snake;
    }
public function snakeFormat ( ) { $ snake = new \ stdClass ; $ rawValues = get_object_vars ( $ this ) ; foreach ( $ rawValues as $ property => $ value ) { $ snake -> { Str :: snake ( $ property ) } = $ value ; } return $ snake ; }
Format the response object with snake case properties.

@return \stdClass
Format the response object with snake case properties .