• File: GetPathTrait.php
  • Full Path: /home/atelipy/www/wpmain/plugins/smart-slider-3/Nextend/Framework/Pattern/GetPathTrait.php
  • File size: 247 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Nextend\Framework\Pattern;

use ReflectionClass;

trait GetPathTrait {

    public static function getPath() {

        $reflection = new ReflectionClass(static::class);

        return dirname($reflection->getFileName());
    }
}