File: tests/Acme/Package/CustomPackage.php

Recommend this page to a friend!
  Classes of Emmanuel Antico  >  eMacros  >  tests/Acme/Package/CustomPackage.php  >  Download  
File: tests/Acme/Package/CustomPackage.php
Role: Class source
Content type: text/plain
Description: Class source
Class: eMacros
PHP LISP language interpreter
Author: By
Last change:
Date: 7 years ago
Size: 293 bytes
 

Contents

Class file image Download
<?php
namespace Acme\Package;

use
eMacros\Package\Package;

class
CustomPackage extends Package {
    public function
__construct() {
       
//debemos especificar un ID de paquete
       
parent::__construct('Custom');
   
       
$this['MY_CONSTANT'] = 42;
       
$this['message'] = "this is a custom package";
    }
}
?>

For more information send a message to info at phpclasses dot org.