Skip to content

Instantly share code, notes, and snippets.

@jaapio
Created November 7, 2024 19:51
Show Gist options
  • Save jaapio/ad4df05bbc26f3854e49ba57f145daee to your computer and use it in GitHub Desktop.
Save jaapio/ad4df05bbc26f3854e49ba57f145daee to your computer and use it in GitHub Desktop.
raw uml example
<!-- place this file in .phpdoc/template/guides/body/uml.html.twig -->
{% apply spaceless %}
<figure
class="phpdocumentor-uml-diagram{% if node.classesString %} {{ node.classesString }}{% endif %}"
{% if node.hasOption('width') %}style="width: {{ node.option('width') }}"{% endif %}
>
{{ uml(node.value) }}
{% if node.caption %}<figcaption>{{ node.caption }}</figcaption>{% endif %}
</figure>
<!-- raw uml goes below ->
<!-- {{node.value }} ->
{% endapply %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment