b-connect/plugin-twig-doc

0.9.2 2018-04-18 11:50 UTC

This package is auto-updated.

Last update: 2024-03-21 18:49:01 UTC


README

{#
/**
 * My component
 *
 * This is a description for my component.
 *
 * @example
 * {% for i in 1.6 %}
 *   <h{{ i }}>Headline {{ i }}</h{{i}}>
 * {% endfor %}
 *
 * @param String $title Headline text
 * @param int $depth Headline depth
 * /
#}

<h{{ depth }}>{{ title }}</h{{ depth }}>

Supported tags

  • Title
  • Description
  • @param
  • @example