Log message #4105308

# At Username Text
# Dec 21st 2017, 10:18 neon1024 I haven’t really felt motivated to do much hobby coding recently
# Dec 21st 2017, 10:18 neon1024 I will eventually, but might not be until 2018 now
# Dec 21st 2017, 10:18 neon1024 Sorry
# Dec 21st 2017, 10:18 neon1024 I’m not sure I’ll get to the Cell stuff
# Dec 21st 2017, 10:18 neon1024 Sure thing
# Dec 21st 2017, 10:17 dereuromark @neon1024 So I can tag a new release then
# Dec 21st 2017, 09:40 k4t helllo
# Dec 21st 2017, 09:34 neon1024 Morning all
# Dec 21st 2017, 08:49 neon1024 You can add them in your userland code though if you’re running PHP 7.x, I know we do here at work
# Dec 21st 2017, 08:49 neon1024 I think it’s something which will happen with the 4.0 release though
# Dec 21st 2017, 08:49 neon1024 Until the minimum PHP is 7.0+ return types can’t be added
# Dec 21st 2017, 08:48 neon1024 https://github.com/cakephp/cakephp/blob/master/composer.json#L31
# Dec 21st 2017, 08:48 neon1024 @ludovic.barman No I don’t think so
# Dec 21st 2017, 08:45 ludovic.barman hi guys, sorry to bother. I couldn't find this info in the net. Is the latest Cakephp3.5.x using Php7 's types in the models and functions when I bake something ? e.g. it knows that the `id` in my `Article` is an `int`, etc? thanks!
# Dec 21st 2017, 08:04 em. http://mcms.local.192.168.50.78.xip.io/admin/nodes/nodes?type_id=2
# Dec 21st 2017, 07:21 rchavik yes
# Dec 21st 2017, 07:11 tukangkod guys, can we do contain inside custom find?
# Dec 21st 2017, 07:03 kant whats the role of bootstrap.php in cakephp 3 ?
# Dec 20th 2017, 23:26 braeden I want to display parent comments but limit the number of children for each parent
# Dec 20th 2017, 23:26 braeden Is there a way to limit the number of nodes displayed within a parent node for the TreeBehaviour? e.g. with a limit of 5 [0] => [1, 2, 3, 4, 5], [1] => [1, 2, 3, 4, 5]
# Dec 20th 2017, 23:18 spencdev yup. np
# Dec 20th 2017, 23:02 josexato @spencdev thank Man, it worked flawlessly:v:
# Dec 20th 2017, 22:47 josexato Nice:+1:
# Dec 20th 2017, 22:46 spencdev @josexato `find('all')->where(['id IN' => $arrOfIds])->toArray()`
# Dec 20th 2017, 22:43 braeden Good morning/afternoon everyone
# Dec 20th 2017, 22:09 josexato Good afeternoon what would be your suggestion in order to make an array of entities from an array of ids from that kind of entity?
# Dec 20th 2017, 21:55 spencdev What is the best way to access the current user on Events?
# Dec 20th 2017, 21:48 cgtag I want to update my description on the team page for the cake website. I can't remember which repo in github that belongs too?
# Dec 20th 2017, 21:47 cgtag I'm back after about a year away from the slack channel. Sorry for disappearing. Not that anyone would remember me. lol
# Dec 20th 2017, 21:47 cgtag hello all
# Dec 20th 2017, 21:13 spencdev or whichever you are.
# Dec 20th 2017, 21:13 spencdev yessir
# Dec 20th 2017, 21:13 greenjam94 oh gotcha, thanks for your help
# Dec 20th 2017, 21:12 spencdev yeap, it has something to do with how they handle the token differently. One puts it in the header, and the other puts it as a form input
# Dec 20th 2017, 21:11 greenjam94 I mean it works for every other thing I’ve done so far with cake, but trying to send a request over AJAX it fails
# Dec 20th 2017, 21:10 greenjam94 Oh, Interesting I didn’t know that
# Dec 20th 2017, 21:10 spencdev I'm not sure why, but I had the same issue awhile back ago.
# Dec 20th 2017, 21:09 spencdev Can't use Security and Csrf at the same time
# Dec 20th 2017, 21:08 greenjam94 File uploaded https://cakesf.slack.com/files/U8H4R4KNV/F8JNBTJEB/-.php / https://slack-files.com/T053DPNCM-F8JNBTJEB-c56cedea1f - <@U43JSV0SK>
# Dec 20th 2017, 21:06 greenjam94 can I create a snippet here instead of gist?
# Dec 20th 2017, 21:05 spencdev where you load `$this->loadComponent('Csrf');`