We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently all commands are in one folder. The commands aren't configurable.
Change that.
The text was updated successfully, but these errors were encountered:
Take a little look at the mind map (http://layne.dyndns.org/coding/mindmap_ircbot.pdf)
We'll add a manager that will read all available commands and cache them in a file. If this file exist, he will use this instead of scanning again.
You can add commands or packages (same as modules, just a collection of commands) using the manager.
Sorry, something went wrong.
We can use the following to use dynamic namespaces and classes. We need this, because we 'll create namespaces and classnames from the filesystem (http://de3.php.net/manual/en/language.namespaces.dynamic.php):
namespace Test1 { class test1 { public function getName() { return __CLASS__; } } } namespace Test2 { class test2 { public function getName() { return __CLASS__; } } } namespace { // Global namespace $namespace = 'Test1'; $classname = 'test1'; $fullyname = $namespace . $classname; $debug = new $fullyname; echo $debug->getName(); $namespace = 'Test2'; $classname = 'test2'; $fullyname = $namespace . $classname; $debug = new $fullyname; echo $debug->getName(); }
DanielSiepmann
No branches or pull requests
Currently all commands are in one folder.
The commands aren't configurable.
Change that.
The text was updated successfully, but these errors were encountered: