BeforeFileContentsSetEvent

FinalYes

This event is fired before the contents of a file gets set / replaced.

This allows to further analyze or modify the content of a file before it is written by the driver.

Table of Contents

Methods

__construct()  : mixed
getContent()  : string
getFile()  : FileInterface
setContent()  : void

Methods

getContent()

public getContent() : string
Return values
string

setContent()

public setContent(string $content) : void
Parameters
$content : string

        
On this page

Search results