src/LaravelStrapiRequest.php
/**
     * Prepares the populates.
     *
     * @return string
     */
Prepares the populates.
@return string
Prepares the populates . @return string
private function preparePopulates()
    {
        if($this->populate[0] == '*'){
            return 'populate=*';
        }
        $populate = [
            'populate' => json_decode(json_encode($this->populate))
        ];
        return http_build_query($populate);
    }
private function preparePopulates ( ) { if ( $ this -> populate [ 0 ] == '*' ) { return 'populate=*' ; } $ populate = [ 'populate' => json_decode ( json_encode ( $ this -> populate ) ) ] ; return http_build_query ( $ populate ) ; }
Prepares the populates.
Prepares the populates .