PHP Classes

File: src/eMacros/Environment/DefaultEnvironment.php

Recommend this page to a friend!
  Classes of Emmanuel Antico   eMacros   src/eMacros/Environment/DefaultEnvironment.php   Download  
File: src/eMacros/Environment/DefaultEnvironment.php
Role: Class source
Content type: text/plain
Description: Class source
Class: eMacros
PHP LISP language interpreter
Author: By
Last change: Deprecated: ExtendedEnvironment class
Updated: docs
Date: 10 years ago
Size: 469 bytes
 

Contents

Class file image Download
<?php
namespace eMacros\Environment;

use
eMacros\Package\CorePackage;
use
eMacros\Package\StringPackage;
use
eMacros\Package\ArrayPackage;
use
eMacros\Package\RegexPackage;
use
eMacros\Package\DatePackage;

class
DefaultEnvironment extends Environment {
    public function
__construct() {
       
$this->import(new StringPackage);
       
$this->import(new ArrayPackage);
       
$this->import(new RegexPackage);
       
$this->import(new DatePackage);
       
$this->import(new CorePackage);
    }
}
?>