dhii / placeholder-template
A template implementation that replaces placeholders in text
Installs: 1 308
Dependents: 5
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^5.4 | ^7.0
- dhii/container-helper-base: ^0.1-alpha5
- dhii/data-container-base: ^0.1-alpha1
- dhii/exception: ^0.1-alpha4
- dhii/factory-base: ^0.1-alpha2
- dhii/i18n-helper-base: ^0.1-alpha1
- dhii/normalization-helper-base: ^0.1-alpha3
- dhii/output-renderer-base: ^0.1-alpha1
- dhii/placeholder-template-abstract: ^0.1-alpha5
- dhii/regex-abstract: ^0.1-alpha1
- dhii/stringable-helper-base: ^0.1-alpha2
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/output-renderer-interface: ^0.3-alpha2
- dhii/php-cs-fixer-config: ^0.1
- phpunit/phpunit: ^4.8
- ptrofimov/xpmock: ^1.1
This package is auto-updated.
Last update: 2020-04-06 18:01:10 UTC
README
Details
A template implementation that replaces placeholders in text
Classes
PlaceholderTemplate
- A concrete placeholder template implementation. Allows rendering of a template with placeholders, so as to have the placeholders substituted by values from a container.AbstractBasePlaceholderTemplate
- Common functionality for placeholder template implementations.PlaceholderTemplateFactory
- A concrete factory of placeholder templates.AbstractBasePlaceholderTemplateFactory
- Common functionality for placeholder template factories.