Log message #4125246

# At Username Text
# Mar 15th 2018, 09:28 neon1024 As they are not yet implemented into \Cake\ORM\Query, for me to read and understand
# Mar 15th 2018, 09:27 neon1024 I’d like to know what they’re intended functionality is so that I can implement them into my class
# Mar 15th 2018, 09:27 neon1024 I’m creating a Query class which implements the QueryInterface. The interface specifies a soft implementation of these methods, https://github.com/cakephp/cakephp/blob/master/src/Datasource/QueryInterface.php#L21-L22
# Mar 15th 2018, 09:26 dakota @neon1024 Haven’t been following, but what’s the issue :slightly_smiling_face:
# Mar 15th 2018, 09:25 neon1024 Which frankly, I find a little frustrating
# Mar 15th 2018, 09:25 neon1024 Rather than repeating what I just said back at me
# Mar 15th 2018, 09:25 neon1024 Indeed, so how about answering my question?
# Mar 15th 2018, 09:25 saeideng we can not add those to interface now
# Mar 15th 2018, 09:25 neon1024 Thanks for trying.
# Mar 15th 2018, 09:24 neon1024 Okay, I think we’ll leave it there. We are going round in circles
# Mar 15th 2018, 09:24 saeideng and
# Mar 15th 2018, 09:24 saeideng not in interface
# Mar 15th 2018, 09:24 neon1024 lol
# Mar 15th 2018, 09:24 saeideng but in a class
# Mar 15th 2018, 09:24 saeideng >I would like to implement these methods, which is why I aksed about the implementation details these method implemented
# Mar 15th 2018, 09:23 neon1024 Do you know what the methods intended functionality is?
# Mar 15th 2018, 09:23 neon1024 I would like to implement these methods, which is why I aksed about the implementation details
# Mar 15th 2018, 09:23 neon1024 As they allow the interface to provide soft requirements for implementation in classes which implement the interface, as my class does
# Mar 15th 2018, 09:22 neon1024 Well sort of, but they also allow backwards compatible updates to the interface
# Mar 15th 2018, 09:22 saeideng but that for phpstan
# Mar 15th 2018, 09:22 saeideng I know
# Mar 15th 2018, 09:22 neon1024 As you can see in the link I provided
# Mar 15th 2018, 09:21 neon1024 @saeideng They are enforced by the interface
# Mar 15th 2018, 09:14 nisseni Trying again: Is there a way to see which controller is denying access with the Tools.Tiny plugin? I have the correct settings in my acl file and if I clear the cake cache I get access. When I come back later I have no access again. Can't figure out the problem... It works fine on my local server but not on the test server.
# Mar 15th 2018, 09:13 saeideng class Query extends DatabaseQuery implements JsonSerializable, QueryInterface
# Mar 15th 2018, 09:11 saeideng query class
# Mar 15th 2018, 09:11 saeideng these methods implemented in a class
# Mar 15th 2018, 09:10 saeideng why you need these methods?
# Mar 15th 2018, 09:10 saeideng hi
# Mar 15th 2018, 08:55 neon1024 If I let PHP Storm deal with it, it’ll add the @method docblocks and then put in a __call magic method to catch calls to them, which is utter filth
# Mar 15th 2018, 08:54 neon1024 Or can I just add and `@method` and be happy?
# Mar 15th 2018, 08:51 dakota The ORM guru (aka Lorenzo) knows all :)
# Mar 15th 2018, 08:50 dakota Morning
# Mar 15th 2018, 08:50 neon1024 Does anyone know the implementation details for these methods? https://github.com/cakephp/cakephp/blob/master/src/Datasource/QueryInterface.php#L21-L22
# Mar 15th 2018, 08:45 neon1024 Morning
# Mar 15th 2018, 07:34 roel Hello everyone, I want to learn how to test my code with php unittest. Does anyone have any pointers/best practices or tutorials I can read other than the CakePHP test documentation? Thanks in advance
# Mar 15th 2018, 07:05 nisseni Is there a way to see which controller is denying access. I have the correct settings in my acl file and if I clear the cake cache I get access. When I come back later I have no access again. Can't figure out the problem...
# Mar 15th 2018, 06:16 ksandeep_ any one here who can help me in this, I google for it but not found solution
# Mar 15th 2018, 06:01 ksandeep_ @savant: please find my code here
# Mar 15th 2018, 06:00 ksandeep_ https://gist.github.com/nakoda/489a3292c4ac17cda227b34a79f89321
# Mar 15th 2018, 05:55 savant Note: I might not answer (its 2am here and I'm about to go to sleep) but generally you should show the code in case someone can answer :)