PHP code example of icap / notification-bundle
1. Go to this page and download the library: Download icap/notification-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
icap / notification-bundle example snippets
/**
* @ORM\PrePersist
*/
public function createUserPicker(LifecycleEventArgs $event){
if ($this->getText() != null) {
$userPicker = new UserPickerContent($this->getText());
$this->setUserPicker($userPicker);
$this->setText($userPicker->getFinalText());
}
}