how to get the full namspaced class of an object

This forum covers all minor versions of PHP 7
Post Reply
User avatar
Administrator
Site Admin
Posts: 1725
Joined: Thu Mar 22, 2018 10:19 am

how to get the full namspaced class of an object

Post by Administrator » Tue May 29, 2018 5:09 pm

You can get the full namespace of an class instance by using the get_class() function

Code: Select all

get_class($object);

Post Reply