Logo white

Denys / ImageCropper

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • ImageCropper
  • backend
  • components
  • ConstantTrait.php
  • Initial commit
    01ebf78c
    Administrator authored
    2015-10-27 14:57:39 +0200  
    Browse Code ยป
ConstantTrait.php 307 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php
/**
 * Created by PhpStorm.
 * User: denys
 * Date: 20.10.15
 * Time: 15:48
 */

namespace backend\components;

use ReflectionClass;

trait ConstantTrait
{
    public function getConstants()
    {
        $oClass = new ReflectionClass(get_class($this));
        return $oClass->getConstants();
    }
}