Skip to content

Reference

phil/text-diff-bundle
ClassRole
Phil\TextDiffBundle\PhilTextDiffBundleThe bundle: the phil_text_diff configuration, its services, and the assets mapped for AssetMapper
Phil\TextDiffBundle\Infrastructure\DependencyInjection\TextDiffServicesRegisters the services; the asset namespaces as constants
Phil\TextDiffBundle\Infrastructure\Twig\TextDiffExtensionThe text_diff and text_diff_document filters
ServiceClass
Phil\TextDiff\TextDiff, publicTextDiff, with the configured bound of edits and, when phil/ujo-bundle is installed, its Normalizer
Phil\TextDiffBundle\Infrastructure\Twig\TextDiffExtensionTextDiffExtension, when Twig is installed
ConstantValue
PhilTextDiffBundle::CONTROLLERS_DIRThe bundle's assets/src folder
PhilTextDiffBundle::STYLES_DIRThe bundle's assets/styles folder
TextDiffServices::CONTROLLER_NAMESPACE@phil/text-diff-bundle
TextDiffServices::ASSET_NAMESPACEphil-text-diff
FileRole
assets/package.jsonThe controller's declaration for StimulusBundle
assets/src/comparison_controller.jsThe comparison controller: see JavaScript
assets/src/lib/marks.jsThe views, the stops, the step and the labels, without the DOM
assets/styles/text-diff.cssThe stylesheet: see Styling