class MoveEventArgs extends LifecycleEventArgs (View source)

Methods

__construct(object $document, DocumentManagerInterface $dm, string $sourcePath, string $targetPath)

Constructor.

string
getSourcePath()

Get the path this document is being moved away from, including the document name.

string
getTargetPath()

Get the path this document is being moved to, including the new document name.

Details

__construct(object $document, DocumentManagerInterface $dm, string $sourcePath, string $targetPath)

Constructor.

Parameters

object $document
DocumentManagerInterface $dm
string $sourcePath Path the document is moved from
string $targetPath Path the document is moved to, including target name

string getSourcePath()

Get the path this document is being moved away from, including the document name.

Return Value

string

string getTargetPath()

Get the path this document is being moved to, including the new document name.

Return Value

string