for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Shetabit\Payment;
use Shetabit\Payment\Abstracts\Receipt as ReceiptAbstract;
use Shetabit\Payment\Traits\HasDetail;
class Receipt extends ReceiptAbstract
{
use HasDetail;
/**
* Add given value into details
*
* @param $name
* @param $value
*/
public function __set($name, $value)
$this->detail($name, $value);
}
* Retrieve given value from details
public function __get($name)
$this->getDetail($name);