PHP Classes

File: LoaderNamespaceStack.php

Recommend this page to a friend!
  Classes of Payam Naderi   Loader   LoaderNamespaceStack.php   Download  
File: LoaderNamespaceStack.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Loader
Autoload classes using several approaches
Author: By
Last change:
Date: 6 years ago
Size: 287 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/LoaderNamespaceStack.php';
    return;
}

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