AfterFileContentsSetEvent
Read onlyYes
FinalYes
This event is fired after the contents of a file got set / replaced.
Examples: Listeners can analyze content for AI purposes within Extensions.
Table of Contents
Methods
- __construct() : mixed
- getContent() : string
- getFile() : FileInterface
Methods
__construct()
public
__construct(FileInterface $file, string $content) : mixed
Parameters
- $file : FileInterface
- $content : string
getContent()
public
getContent() : string
Return values
stringgetFile()
public
getFile() : FileInterface