Coderwall
Ruby
Python
JavaScript
Front-End
Tools
iOS
More
Tips
Ruby
Python
JavaScript
Front-End
Tools
iOS
PHP
Android
.NET
Java
Jobs
Jobs
Sign In or Up
Joined March 2017
·
stevegeorge
stevegeorge
Web designer at WinBizSolutions
·
Bangalore, India
·
·
0 Protips
1 Comments
Posted to
PHP get class name without namespace
over 1 year ago
(new \ReflectionClass(get
called
class()))->getShortName()
Achievements
1 Karma
0 Total ProTip Views
Interests & Skills
HTML5
CSS3
JS
Wordpress
Joomla
PHP
.NET
JavaScript
(new \ReflectionClass(getcalledclass()))->getShortName()