We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef9fbc1 commit 25a00e2Copy full SHA for 25a00e2
doc/services/compute/v2/flavors.rst
@@ -15,11 +15,13 @@ Detailed information
15
~~~~~~~~~~~~~~~~~~~~
16
17
By default, only the ``id``, ``links`` and ``name`` attributes are returned. To return *all* information
18
-for a flavor, you must enable detailed information, like so:
+for a flavor, you must pass ``true`` as the last parameter, like so:
19
20
.. code-block:: php
21
22
- $flavors = $service->listFlavors(true);
+ $flavors = $service->listFlavors([], function ($flavor) {
23
+ return $flavor;
24
+ }, true);
25
26
Retrieve a flavor
27
-----------------
0 commit comments