PHP Classes

File: src/import.php

Recommend this page to a friend!
  Classes of Samuel Adeshina   PHP Dependency Injection Container   src/import.php   Download  
File: src/import.php
Role: Auxiliary script
Content type: text/plain
Description: Use in development only
Class: PHP Dependency Injection Container
Autoload dependent objects accessing variables
Author: By
Last change:
Date: 8 years ago
Size: 223 bytes
 

Contents

Class file image Download
<?php
   
if (file_exists(__DIR__."/../vendor/autoload.php"))
    {
        require_once(
__DIR__."/../vendor/autoload.php");
    }
    else
    {
        exit(
"[Error] AUTOLOAD FILES MISSING : You need to install composer to use this library");
    }
?>