The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.15 (Linux)
File Line Function
/showthread.php 906 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access to Outside Class Definition
#1
Can I access to public class that is defined in another file as public class?
To be more clear, suppose we're producing a bot - factory(somebotcategory, somebotcodefile).
If we want to get remote control to this bot, we need some public class with static member, that is ok, like in exercises.
But when we are working on code, there is no another bot code loaded, therefore compiler gives error.
Is there any way to get class definition from another file visible? I mean something like #include <someheader.h>.


Messages In This Thread
Access to Outside Class Definition - by kakhao - 08-31-2017, 08:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)