Casting variable to my class - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Casting variable to my class (/showthread.php?tid=71929) |
Casting variable to my class - omid_student - 10-12-2018 Hi I have two class in php file Below code is my php file There are no problem in this code My only problem is PHPStorm cannot show class fields But when i delcare example $user = new user(); and when i use $user-> , PHPStorm show fields I need casting variable to user class to show field when i try use this class PHP Code: <?php This picture is when i use class directly And this picture when i use only variable |