Your IP : 216.73.216.50


Current Path : /proc/1908984/root/proc/self/root/proc/self/root/proc/2411249/cwd/
Upload File :
Current File : //proc/1908984/root/proc/self/root/proc/self/root/proc/2411249/cwd/AbstractGeneratorLoader.php.tar

public_html/110/libraries/smartslider3/src/SmartSlider3/Generator/AbstractGeneratorLoader.php000064400000001420152427011450030713 0ustar00home/digilove<?php

namespace Nextend\SmartSlider3\Generator;

use Nextend\Framework\Filesystem\Filesystem;
use ReflectionClass;
use ReflectionException;

abstract class AbstractGeneratorLoader {

    public function __construct() {

        try {
            $reflectionClass = new ReflectionClass($this);
            $namespace       = $reflectionClass->getNamespaceName();

            $dir = dirname($reflectionClass->getFileName());

            foreach (Filesystem::folders($dir) as $name) {
                $className = '\\' . $namespace . '\\' . $name . '\\GeneratorGroup' . $name;

                if (class_exists($className)) {
                    new $className;
                }
            }
        } catch (ReflectionException $e) {

        }
    }
}