for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Swiss Payment Slip PDF
*
* @license http://www.opensource.org/licenses/mit-license.php MIT License
* @copyright 2012-2015 Some nice Swiss guys
* @author Marc Würth <[email protected]>
* @author Manuel Reinhard <[email protected]>
* @author Peter Siska <[email protected]>
* @link https://github.com/ravage84/SwissPaymentSlipPdf/
*/
namespace SwissPaymentSlip\SwissPaymentSlipPdf\Tests;
use SwissPaymentSlip\SwissPaymentSlipPdf\PaymentSlipPdf;
use SwissPaymentSlip\SwissPaymentSlip\PaymentSlip;
use SwissPaymentSlip\SwissPaymentSlip\PaymentSlipData;
// Include Composer's autoloader
require __DIR__.'/../vendor/autoload.php';
* A wrapping class to allow testing the abstract class PaymentSlipData
class TestablePaymentSlipData extends PaymentSlipData
{
}
* A wrapping class to allow testing the abstract class PaymentSlip
class TestablePaymentSlip extends PaymentSlip
* A wrapping class to allow testing the abstract class PaymentSlipPdf
class TestablePaymentSlipPdf extends PaymentSlipPdf
protected function displayImage($background)
protected function setFont($fontFamily, $fontSize, $fontColor)
protected function setBackground($background)
protected function setPosition($posX, $posY)
protected function createCell($width, $height, $line, $textAlign, $fill)