PHP Classes

File: LoaderAggregate.php

Recommend this page to a friend!
  Classes of Payam Naderi   Loader   LoaderAggregate.php   Download  
File: LoaderAggregate.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Loader
Autoload classes using several approaches
Author: By
Last change:
Date: 7 years ago
Size: 277 bytes
 

Contents

Class file image Download
<?php
namespace Poirot\Loader;

// DO_LEAST_PHPVER_SUPPORT 5.4 traits
if (version_compare(phpversion(), '5.4.0') < 0) {
   
## php version not support traits
   
require_once __DIR__.'/fixes/LoaderAggregate.php';
    return;
}

require_once
__DIR__.'/LoaderAggregate.fix.php';