Пример #1
0
 /**
  * Signalizes that FLOW3 completed the shutdown process after a normal run.
  *
  * @return void
  * @author Robert Lemke <*****@*****.**>
  * @signal
  * @see run()
  * @api
  */
 protected function emitFinishedNormalRun()
 {
     $this->signalSlotDispatcher->dispatch(__CLASS__, __FUNCTION__, array());
 }
Пример #2
0
 /**
  * Signalizes that the specified directory has changed
  *
  * @param string $monitorIdentifier Name of the monitor which detected the change
  * @param array $changedDirectories An array of changed directories (key = path) and their status (value)
  * @return void
  * @author Robert Lemke <*****@*****.**>
  * @signal
  * @api
  */
 protected function emitDirectoriesHaveChanged($monitorIdentifier, array $changedDirectories)
 {
     $this->signalDispatcher->dispatch(__CLASS__, __FUNCTION__, func_get_args());
 }
 /**
  * Signalizes that the given object has been persisted (updated)
  *
  * @param object $object The object that will be persisted
  * @return void
  * @author Karsten Dambekalns <*****@*****.**>
  * @signal
  * @api
  */
 protected function emitPersistedUpdatedObject($object)
 {
     $this->signalDispatcher->dispatch(__CLASS__, __FUNCTION__, func_get_args());
 }
Пример #4
0
 /**
  * Passes the signal over to the Dispatcher
  *
  * @afterreturning methodTaggedWith(signal)
  * @param F3\FLOW3\AOP\JoinPointInterface $joinPoint The current join point
  * @return void
  * @author Robert Lemke <*****@*****.**>
  */
 public function forwardSignalToDispatcher(\F3\FLOW3\AOP\JoinPointInterface $joinPoint)
 {
     $this->dispatcher->dispatch($joinPoint->getClassName(), $joinPoint->getMethodName(), $joinPoint->getMethodArguments());
 }