public function beforeRun(SourceSetEvent $sourceSetEvent): void
    {
        /** @var SourceInterface $source */
        foreach ($sourceSetEvent->updatedSources() as $source) {
            foreach ($this->extensions as $extension) {
                if (fnmatch("*.{$extension}", $source->filename())) {
                    $source->data()->append('converters', SculpinTextileBundle::CONVERTER_NAME);
                    break;
                }
            }
        }
    }
public function beforeRun(SourceSetEvent $sourceSetEvent): void
    {
        /** @var SourceInterface $source */
        foreach ($sourceSetEvent->updatedSources() as $source) {
            foreach ($this->extensions as $extension) {
                if (fnmatch("*.{$extension}", $source->filename())) {
                    $source->data()->append('converters', SculpinTextileBundle::CONVERTER_NAME);
                    break;
                }
            }
        }
    }
public function beforeRun ( SourceSetEvent $ sourceSetEvent ) : void { /** @var SourceInterface $source */ foreach ( $ sourceSetEvent -> updatedSources ( ) as $ source ) { foreach ( $ this -> extensions as $ extension ) { if ( fnmatch ( "*.{$extension}" , $ source -> filename ( ) ) ) { $ source -> data ( ) -> append ( 'converters' , SculpinTextileBundle :: CONVERTER_NAME ) ; break ; } } } }
Event hook to register this converter for all sources that have markdown file extensions.

@internal
Event hook to register this converter for all sources that have markdown file extensions .