b-connect/plugin-twig-doc

0.9.2 2018-04-18 11:50 UTC

This package is auto-updated.

Last update: 2024-11-21 20:28:13 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