BWF\DocumentTemplates\DocumentTemplates\BaseDocumentTemplate::dataSource

    Signature

    protected function dataSource(stdClass|TemplateDataSourceInterface $data, [string $name = '', [boolean $isIterable = false, [string $iterableName = '']]] )

    Parameters

    $data — object



    $name — string
    $isIterable — boolean



    $iterableName — string
    Use as an iterable variable in the template

    Returns

    TemplateDataSource