Log message #4157449

# At Username Text
# Jul 10th 2018, 11:30 edgaras.jan > # If your CLI PHP is somewhere that this doesn't find, you can define a PHP environment > # variable with the correct path in it.
# Jul 10th 2018, 11:30 neon1024 @sheraliqureshi.mhtech Well we can certainly help with any questions you have. Cake and Laravel have some similarities :slightly_smiling_face:
# Jul 10th 2018, 11:30 neon1024 @josbeir Not a clue
# Jul 10th 2018, 11:26 josbeir i always feel myself fiddling with this
# Jul 10th 2018, 11:26 josbeir hmm, what is the best way to change the php binary when using the bin/cake command
# Jul 10th 2018, 11:25 sheraliqureshi.mhtech need help
# Jul 10th 2018, 11:25 sheraliqureshi.mhtech but i have to right his code and i m facing alot of issue in this project\
# Jul 10th 2018, 11:24 sheraliqureshi.mhtech i m laravel developer
# Jul 10th 2018, 11:23 sheraliqureshi.mhtech i m just tring to right his code
# Jul 10th 2018, 11:23 neon1024 How are you finding the framework so far?
# Jul 10th 2018, 11:23 sheraliqureshi.mhtech this is some one else code
# Jul 10th 2018, 11:23 neon1024 Welcome!
# Jul 10th 2018, 11:23 sheraliqureshi.mhtech i am new on cakephp
# Jul 10th 2018, 11:23 sheraliqureshi.mhtech http://localhost/*******************/users/signUp/
# Jul 10th 2018, 11:20 neon1024 `UsersController::signUp()`
# Jul 10th 2018, 11:19 neon1024 `$routes->connect('/users/sign-up', ['controller' => 'Users', 'action' => 'signUp'])`
# Jul 10th 2018, 11:19 josbeir also, if fallback routing is enabled, your route should already be working
# Jul 10th 2018, 11:18 josbeir • dont use camelcasing in route names • controller names should be plural
# Jul 10th 2018, 11:18 josbeir there's so much wrong with that route
# Jul 10th 2018, 11:17 sheraliqureshi.mhtech my this route is not working
# Jul 10th 2018, 11:17 sheraliqureshi.mhtech $routes->connect('/users/sigUp', ['controller' => 'User', 'action' => 'signUp']);
# Jul 10th 2018, 10:38 james.phillips thanks for all your help...now I have to go write some more propsal :(
# Jul 10th 2018, 10:37 josbeir ^^
# Jul 10th 2018, 10:37 james.phillips I just need her to take them for a month or two ;)
# Jul 10th 2018, 10:36 josbeir :)
# Jul 10th 2018, 10:36 josbeir :S take them to their grandma
# Jul 10th 2018, 10:36 james.phillips I dont have my own time...the kids own me lol
# Jul 10th 2018, 10:36 josbeir @james.phillips do it on your onw time ;)
# Jul 10th 2018, 10:35 james.phillips thanks...It would be easier if i could get to play with it but dont have the time to upgrade etc at the mo....
# Jul 10th 2018, 10:35 neon1024 Yeah, there is no test case for it. So I will PR a test case
# Jul 10th 2018, 10:35 josbeir new Collection([]->first();
# Jul 10th 2018, 10:35 josbeir @neon1024 i would think null, try it out!
# Jul 10th 2018, 10:34 josbeir haven't done/need that
# Jul 10th 2018, 10:34 josbeir altho, you can query multiple ES indexes, i'm not sure how this would translate using php api's
# Jul 10th 2018, 10:34 james.phillips I get you..on one side the results need to be merge and on another part by resource type...so its 50-50
# Jul 10th 2018, 10:33 josbeir for instance, when you have an autocomplete field and want to show results for all stuff by a keyword across all indexes you would need to execute 3 queries and join the results, then serve it to the user
# Jul 10th 2018, 10:32 josbeir your results would not be merged too
# Jul 10th 2018, 10:32 josbeir @james.phillips thats up to you but you would need to execute queries against all your indexes
# Jul 10th 2018, 10:32 neon1024 Ooh, I should check the test suite
# Jul 10th 2018, 10:31 neon1024 Loving the use of inheritDoc here, when the class has no inheritance :face_with_rolling_eyes:
# Jul 10th 2018, 10:31 neon1024 Soo what is the return type of `first()`? Especially if the collection is empty https://github.com/cakephp/collection/blob/master/CollectionTrait.php#L365-L374