Change

class OC\Files\Notify\Change
Source:lib/private/Files/Notify/Change.php#28
Implements:OCP\Files\Notify\IChange

Properties

Methods

public OC\Files\Notify\Change::__construct($type, $path)
Change constructor.
Source:

lib/private/Files/Notify/Change.php#41

Parameters:
  • $type (int)
  • $path (string)
public OC\Files\Notify\Change::getType()
Get the type of the change
Source:lib/private/Files/Notify/Change.php#51
Returns:int IChange::ADDED, IChange::REMOVED, IChange::MODIFIED or IChange::RENAMED
public OC\Files\Notify\Change::getPath()
Get the path of the file that was changed relative to the root of the storage
Note, for rename changes this path is the old path for the file
Source:lib/private/Files/Notify/Change.php#62
Returns:mixed