PHP code example of blessing / rejection
1. Go to this page and download the library: Download blessing/rejection 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/ */
blessing / rejection example snippets
use Blessing\Rejection;
$rejection = new Rejection('reason');
$rejection = new Rejection('reason', ['name' => '']);
$rejection->getReason();
$rejection->getData();
$rejection = new Rejection('reason', ['name' => '']);
$rejection->getData('name');