# |
Jan 7th 2019, 17:43 |
origamifreak2 |
Happy New Year Everyone!!! :slightly_smiling_face: |
# |
Jan 7th 2019, 17:33 |
dereuromark |
all merged. |
# |
Jan 7th 2019, 17:03 |
dereuromark |
@neon1024 Seems like interface works. So more like a phpstorm bug/limitation here^^ |
# |
Jan 7th 2019, 16:43 |
admad |
You need to turn off routes caching if you want to use closure in routing middleware https://github.com/cakephp/app/blob/master/src/Application.php#L78 |
# |
Jan 7th 2019, 16:32 |
josexato |
although I get warnings at ` [CORE/src/Cache/Engine/FileEngine.php, line 155]` sayin `Object of class Cake\Routing\RouteCollection could not be converted to string` |
# |
Jan 7th 2019, 16:25 |
josexato |
yes, I've tested deactivating route serializarion, but I am not sure if that can create some disavantages |
# |
Jan 7th 2019, 16:22 |
admad |
Have you turned off routes caching? |
# |
Jan 7th 2019, 16:09 |
josexato |
now I am getting this error " Serialization of 'Closure' is not allowed" |
# |
Jan 7th 2019, 16:08 |
josexato |
or is it possible to pass options to a middleware registered in the routing middleware? |
# |
Jan 7th 2019, 16:08 |
josexato |
hello I'll rephrase a question, is it possible to pass a closure as part of the options of an scoped middleware? |
# |
Jan 7th 2019, 16:06 |
dereuromark |
jep, like for all the other ones (which you can confirm to be working) |
# |
Jan 7th 2019, 16:06 |
neon1024 |
@dereuromark Are you expecting a string completion here? |
# |
Jan 7th 2019, 15:55 |
dereuromark |
well, that part always works :slightly_smiling_face: |
# |
Jan 7th 2019, 15:54 |
neon1024 |
It does work if you use a FQCN with `::class` |
# |
Jan 7th 2019, 15:52 |
neon1024 |
I don’t see the addPlugin method in my meta file though. Let me delete it and generate a new one |
# |
Jan 7th 2019, 15:51 |
dereuromark |
I know.. it should work, but for some reason just doesnt |
# |
Jan 7th 2019, 15:50 |
slackebot |
<neon1024> |
# |
Jan 7th 2019, 15:50 |
neon1024 |
Ah, this application is on 3.6.14 still |
# |
Jan 7th 2019, 15:48 |
neon1024 |
Sure, give me a minute to check it out |
# |
Jan 7th 2019, 15:44 |
dereuromark |
I have this weird thing, that addPlugin() doesnt work here: https://github.com/dereuromark/cakephp-ide-helper/pull/102 All other things still do, so I am not sure whats going.. |
# |
Jan 7th 2019, 15:44 |
neon1024 |
@dereuromark :point_left: PHP Storm |
# |
Jan 7th 2019, 15:44 |
ricksaccous |
me but i don't use enough of the features |
# |
Jan 7th 2019, 15:44 |
neon1024 |
@admad Yeah, first time Aus followed on in 30 years! |
# |
Jan 7th 2019, 15:42 |
dereuromark |
any phpstorm users here today? |
# |
Jan 7th 2019, 15:32 |
admad |
@neon1024 I hope you enjoyed Ind thrashing your arch rivals :slightly_smiling_face: |
# |
Jan 7th 2019, 15:29 |
josbeir |
couldn't have put it better.. |
# |
Jan 7th 2019, 15:27 |
neon1024 |
My knowledge reaches as far as knowing it’s Monday. So I’m doing well |
# |
Jan 7th 2019, 15:27 |
josbeir |
but tnx @admad! |
# |
Jan 7th 2019, 15:26 |
josbeir |
yeah... i need some time for that... :P |
# |
Jan 7th 2019, 15:25 |
admad |
Welcome back to being contributing members of the society :) |
# |
Jan 7th 2019, 15:24 |
josbeir |
-_- :P |
# |
Jan 7th 2019, 15:24 |
josbeir |
same... |
# |
Jan 7th 2019, 15:08 |
neon1024 |
First day back today after the winter holiday break |
# |
Jan 7th 2019, 15:07 |
neon1024 |
It’s a CakePHP and Vue.js application for our Call centre staff :slightly_smiling_face: |
# |
Jan 7th 2019, 14:58 |
dereuromark |
arent we the nosy ones |
# |
Jan 7th 2019, 14:58 |
dereuromark |
and your projects' names :slightly_smiling_face: |
# |
Jan 7th 2019, 14:55 |
jeremyharris |
although I think it’s good that you’re sharing the knowledge :+1: |
# |
Jan 7th 2019, 14:53 |
jeremyharris |
:P |
# |
Jan 7th 2019, 14:53 |
jeremyharris |
your questions are my favorite - they often solve themselves! |
# |
Jan 7th 2019, 14:52 |
neon1024 |
`return new Response(['body' => $resultData]);` |
# |
Jan 7th 2019, 14:52 |
neon1024 |
Ah, trying to set an array as the body |