PHP Classes

File: build/generator.trait.template.php

Recommend this page to a friend!
  Classes of Michal Kowalik   TCPDF Warper   build/generator.trait.template.php   Download  
File: build/generator.trait.template.php
Role: Auxiliary script
Content type: text/plain
Description: generator trait template
Class: TCPDF Warper
Create PDF documents using TCPDF fluent interface
Author: By
Last change: Update of build/generator.trait.template.php
Date: 7 months ago
Size: 726 bytes
 

Contents

Class file image Download
<?php
/**
 * @var $this \org\majkel\tcpdfwarper\generator\Generator
 * @var $classes \org\majkel\tcpdfwarper\generator\ClassDefinition[]
 */
echo '<?php';
?>

/**
 * Created by Generator.
 * Package: org\majkel\tcpdfwarper
 * User: Micha? (majkel) Kowalik <maf.michal@gmail.com>
 * Date: <?= $this->date ?>

 * Time: <?= $this->time ?>

 */

namespace org\majkel\tcpdfwarper;

/**
 * Class TCPDFWarperTrait
 * @package org\majkel\tcpdfwarper
 */
trait TCPDFWarperTrait {

<?php foreach ($classes as $class) : ?>
/**<?= $class->getClassDoc("\n\t * ") ?>

     * @return <?= $class->className ?>

     */
    public function build<?= ucfirst($class->name) ?>() {
        return new <?= $class->className ?>($this);
    }

<?php endforeach ?>
}