Skip to content

Commit

Permalink
Show enum details.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jan 4, 2024
1 parent b760cca commit c39f551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Sandbox/templates/ToolsExamples/bitmask_enums.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<td><ul><?php
/** @var \BackedEnum&\Cake\Database\Type\EnumLabelInterface $flag */
foreach ($record->flags as $flag) {
echo '<li>' . $flag->value . ' (' . $flag->label() . ')</li>';
echo '<li>' . $flag->value . ' (' . $flag->label() . ')<br><code>' . print_r($flag, true) . '</code></br></li>';
} ?></ul>
</td>
</tr>
Expand Down

0 comments on commit c39f551

Please sign in to comment.