The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Template::Lace::Model::HasChildren - Collection children components

SYNOPSIS

    package  MyApp::Template::List;

    with 'Template::Lace::ModelRole',
      'Template::Lace::Model::HasChildren';

    1;

DESCRIPTION

Collects any children components that might be added.

Please note these are the children components added as part of the model to which this component is attached. This component might define its own component hierachy.

METHODS

This interface exposes the following public methods

children

Returns an array of the child components under this component (as defined by the top model component hierachy).

SEE ALSO

Template::Lace.

AUTHOR

Please See Template::Lace for authorship and contributor information.

COPYRIGHT & LICENSE

Please see Template::Lace for copyright and license information.