Loading CHANGELOG.md +7 −0 Original line number Diff line number Diff line CHANGELOG ========= 6.4.0 (24/06/2025) ------------------ - L'AxiosExtractor peut maintenant exploiter les propriétés publiques des objets, en plus des getters, isers et hasers - Compatibilité Php8.4 6.3.3 (31/03/2025) ------------------ Loading src/Axios/AxiosExtractor.php +7 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,7 @@ class AxiosExtractor $subProperties = []; } $found = false; $methods = [ $property, 'get' . ucfirst($property), Loading @@ -86,9 +87,15 @@ class AxiosExtractor if (method_exists($data, $method)) { $value = $data->$method(); $result[$property] = $this->extractData($value, $subProperties, $path . '/' . $property); $found = true; break; } } if (!$found && property_exists($data, $property)) { $value = $data->$property; $result[$property] = $this->extractData($value, $subProperties, $path . '/' . $property); } } return $result; Loading Loading
CHANGELOG.md +7 −0 Original line number Diff line number Diff line CHANGELOG ========= 6.4.0 (24/06/2025) ------------------ - L'AxiosExtractor peut maintenant exploiter les propriétés publiques des objets, en plus des getters, isers et hasers - Compatibilité Php8.4 6.3.3 (31/03/2025) ------------------ Loading
src/Axios/AxiosExtractor.php +7 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,7 @@ class AxiosExtractor $subProperties = []; } $found = false; $methods = [ $property, 'get' . ucfirst($property), Loading @@ -86,9 +87,15 @@ class AxiosExtractor if (method_exists($data, $method)) { $value = $data->$method(); $result[$property] = $this->extractData($value, $subProperties, $path . '/' . $property); $found = true; break; } } if (!$found && property_exists($data, $property)) { $value = $data->$property; $result[$property] = $this->extractData($value, $subProperties, $path . '/' . $property); } } return $result; Loading