Log message #4156755

# At Username Text
# Jul 6th 2018, 21:21 saeideng no problem
# Jul 6th 2018, 21:21 saeideng aha
# Jul 6th 2018, 21:21 itmpls src/Plugin.php I mean
# Jul 6th 2018, 21:21 saeideng dont having `bootstrap.php` ?
# Jul 6th 2018, 21:20 itmpls im working on**
# Jul 6th 2018, 21:20 saeideng you can see it uses `config/bootstrap.php` by default
# Jul 6th 2018, 21:20 itmpls i see in the project ive done a few of them don't even have it
# Jul 6th 2018, 21:20 itmpls Plugin.php is optional?
# Jul 6th 2018, 21:20 saeideng default hook is ``` public function bootstrap(PluginApplicationInterface $app) { $bootstrap = $this->getConfigPath() . 'bootstrap.php'; if (file_exists($bootstrap)) { require $bootstrap; } } ```
# Jul 6th 2018, 21:19 itmpls ah
# Jul 6th 2018, 21:19 saeideng it uses default hook
# Jul 6th 2018, 21:19 saeideng if you dont have this hook
# Jul 6th 2018, 21:19 saeideng you can move bootstrap into hook on this class
# Jul 6th 2018, 21:18 saeideng it depends on your `src/Plugin.php` class
# Jul 6th 2018, 21:17 itmpls misread I suppose
# Jul 6th 2018, 21:17 itmpls oh ok, nevermind
# Jul 6th 2018, 21:17 saeideng no why?
# Jul 6th 2018, 21:17 itmpls so they won't get deprecated?
# Jul 6th 2018, 21:16 saeideng > but what about in my plugin itself? are routes.php/bootstrap.php still used? yes by default
# Jul 6th 2018, 21:16 joopm github powershell is installed
# Jul 6th 2018, 21:15 joopm but should use the add command for each invidual files??
# Jul 6th 2018, 21:15 itmpls joopm if you have windows, use tortoisegit or git init / git add .
# Jul 6th 2018, 21:15 joopm yes my personal
# Jul 6th 2018, 21:15 saeideng your personal project?
# Jul 6th 2018, 21:15 itmpls .. in the plugin itself
# Jul 6th 2018, 21:15 itmpls @saeideng but what about in my plugin itself? are routes.php/bootstrap.php still used?
# Jul 6th 2018, 21:14 joopm i want to use the github for my project
# Jul 6th 2018, 21:14 saeideng document ^^
# Jul 6th 2018, 21:14 saeideng https://book.cakephp.org/3.0/en/plugins.html#loading-a-plugin
# Jul 6th 2018, 21:13 saeideng https://github.com/cakephp/app/pull/617/files
# Jul 6th 2018, 21:12 saeideng and cakephp/app will update as soon
# Jul 6th 2018, 21:12 itmpls trying to google
# Jul 6th 2018, 21:12 itmpls is there a page documenting 'addPlugin' ?
# Jul 6th 2018, 21:12 itmpls uh
# Jul 6th 2018, 21:12 saeideng even missing-plugin error page fixed today
# Jul 6th 2018, 21:11 saeideng yes since 3.6
# Jul 6th 2018, 21:11 saeideng `app->addPlugin()`
# Jul 6th 2018, 21:11 itmpls is this documented anywhere?
# Jul 6th 2018, 21:11 saeideng new way of adding plugin
# Jul 6th 2018, 21:11 itmpls yes
# Jul 6th 2018, 21:10 saeideng plugin?