# |
Feb 15th 2020, 15:54 |
rudy1976s |
Good afternoon to everyone ! |
# |
Feb 15th 2020, 13:03 |
sebastian.krzewinski. |
Hi |
# |
Feb 15th 2020, 10:58 |
damiano |
thanks @ndm |
# |
Feb 15th 2020, 10:44 |
slackebot |
Also the authentication component supports accessing the identity data directly via its `getIdentityData()` method (`$this->Authentication->getIdentityData('field')`). |
# |
Feb 15th 2020, 10:44 |
ndm |
@damiano The identity is usually an object, an instance of `\Authentication\Identity`. What you are looking at, is probably the formatted debug output, which doesn't reflect the objects interface. The object has a `get()` method for data access (`$identity->get('field')`), it supports property access (`$identity->field`), array access (`$identity['field']`), and using its `getOriginalData()` method you can retrieve all identity data at once. |
# |
Feb 15th 2020, 10:20 |
damiano |
is there a way to get the data only without config? |
# |
Feb 15th 2020, 10:20 |
damiano |
using the authentication plugin i get the identity with $this->Authentication->getIdentity() but it returns an array with 'config' and 'data' <-- user data here |
# |
Feb 15th 2020, 10:19 |
damiano |
hello everybody |
# |
Feb 15th 2020, 05:59 |
admad |
wow, GH turned the notifications page into an almost full fledged inbox |
# |
Feb 15th 2020, 04:14 |
admad |
@sebastian.krzewinski. if you like to see new releases for everything regularly move to the javascript world :) |
# |
Feb 15th 2020, 01:43 |
sebastian.krzewinski. |
yhyyyym |
# |
Feb 15th 2020, 01:28 |
challgren |
A lot of plugins dont need to update if they are stable |
# |
Feb 15th 2020, 01:28 |
challgren |
You do realize cake 3 is pretty stable |
# |
Feb 15th 2020, 01:28 |
sebastian.krzewinski. |
plugins |
# |
Feb 15th 2020, 01:28 |
sebastian.krzewinski. |
links |
# |
Feb 15th 2020, 01:27 |
challgren |
What is old? |
# |
Feb 15th 2020, 01:27 |
sebastian.krzewinski. |
its old |
# |
Feb 15th 2020, 01:26 |
challgren |
What? |
# |
Feb 15th 2020, 01:20 |
sebastian.krzewinski. |
everything have 3 5 years |
# |
Feb 15th 2020, 01:15 |
challgren |
Look for the strawberry |
# |
Feb 15th 2020, 01:15 |
sebastian.krzewinski. |
a lot of links are not compatibile to cakephp4 |
# |
Feb 15th 2020, 01:12 |
challgren |
What??? |
# |
Feb 15th 2020, 01:11 |
sebastian.krzewinski. |
3/4 i not for cake 4 |
# |
Feb 15th 2020, 01:10 |
challgren |
https://github.com/friendsofcake/awesome-cakephp |
# |
Feb 15th 2020, 01:10 |
sebastian.krzewinski. |
do you have more usefull links? |
# |
Feb 15th 2020, 01:08 |
challgren |
Yes its a plugin |
# |
Feb 15th 2020, 01:08 |
sebastian.krzewinski. |
its plugin yes? |
# |
Feb 15th 2020, 01:07 |
challgren |
@sebastian.krzewinski. https://github.com/icings/menu works great |
# |
Feb 15th 2020, 01:07 |
sebastian.krzewinski. |
Hi, anyone know how to do dynamic menus? |
# |
Feb 14th 2020, 18:35 |
ricksaccous |
no problem |
# |
Feb 14th 2020, 17:47 |
phantomwatson |
No, you're totally right. I occasionally trick myself into confusing doc comments with type declaration stuff in functional code. Thanks! |
# |
Feb 14th 2020, 17:47 |
ricksaccous |
lol |
# |
Feb 14th 2020, 17:46 |
ricksaccous |
i actually don't really know all i really know is you have to set the return type for that to go away |
# |
Feb 14th 2020, 17:46 |
phantomwatson |
Ohh, I was just looking at the doc comment having `void` in it. |
# |
Feb 14th 2020, 17:46 |
ricksaccous |
i think that's part of the "method signature" |
# |
Feb 14th 2020, 17:46 |
ricksaccous |
public function setUp(): void |
# |
Feb 14th 2020, 17:45 |
ricksaccous |
you have to specify return type to void |
# |
Feb 14th 2020, 17:45 |
ricksaccous |
yeah |
# |
Feb 14th 2020, 17:42 |
phantomwatson |
Does this error make sense to anyone? |
# |
Feb 14th 2020, 17:08 |
ndm |
https://vignette.wikia.nocookie.net/villains/images/a/a8/Karate-Kyle.jpg/revision/latest |
# |
Feb 14th 2020, 16:59 |
admad |
@ndm that custom eager loader is ninja level shit :) |