# |
Dec 11th 2017, 23:33 |
dereuromark |
the error says it all: fix your method as documented |
# |
Dec 11th 2017, 23:18 |
etipaced |
@t.clement is that your IDE telling you that or are you getting an actual PHP error? |
# |
Dec 11th 2017, 21:51 |
joshuaboland |
I’ve got a server alias in apache on the vhost that serves my cake application. When I access the application using the aliased URL, routes.php is not loaded, so none of the routes work. I am not defining fullBaseURL explicitly in my config. Any pointers? |
# |
Dec 11th 2017, 21:36 |
t.clement |
And i get like error : return type declarations must be compatible with controller->isauthorized(user) : bool |
# |
Dec 11th 2017, 21:35 |
t.clement |
or without the null, i tried everything |
# |
Dec 11th 2017, 21:35 |
t.clement |
function isAuthorized($type = null){ return true; } |
# |
Dec 11th 2017, 21:35 |
t.clement |
like this : |
# |
Dec 11th 2017, 21:35 |
t.clement |
In my AppController, I tried to implement the method : isAuthorized |
# |
Dec 11th 2017, 21:34 |
slackebot |
!ask |
# |
Dec 11th 2017, 21:34 |
slackebot |
Command sent from Slack by saeideng: |
# |
Dec 11th 2017, 21:33 |
t.clement |
Hi, I have a problem with my project, does someone could help me please ? |
# |
Dec 11th 2017, 21:15 |
saeideng |
``` $class::setDefaultLocale('fr-FR'); $date = $class::parseDate('13 10, 2015 12:54:12'); $this->assertEquals('2015-10-13 00:00:00', $date->format('Y-m-d H:i:s')); ``` |
# |
Dec 11th 2017, 21:12 |
saeideng |
:loudspeaker: :grinning: |
# |
Dec 11th 2017, 21:08 |
saeideng |
maybe `setDefaultLocale`? |
# |
Dec 11th 2017, 21:08 |
saeideng |
how we can set locale ? |
# |
Dec 11th 2017, 21:07 |
saeideng |
or `Time::parseDateTime('13 Oct, 2013 13:54', 'dd MMM, y H:mm');` |
# |
Dec 11th 2017, 21:07 |
saeideng |
for example `Time::parseDateTime('10/13/2013 12:54am');` |
# |
Dec 11th 2017, 21:06 |
saeideng |
how you set the local for these methods ? |
# |
Dec 11th 2017, 21:06 |
saeideng |
I have a question here |
# |
Dec 11th 2017, 21:05 |
saeideng |
like `time::parseTime()` |
# |
Dec 11th 2017, 21:05 |
saeideng |
has anyone to need pars date with i18n package ? |
# |
Dec 11th 2017, 20:41 |
dereuromark |
@saeideng Oh, in that case, sure, adding it as opt-in is a good idea |
# |
Dec 11th 2017, 20:37 |
birdy247 |
to build assets? |
# |
Dec 11th 2017, 20:37 |
birdy247 |
would there be any interest from the core to offer something similar? |
# |
Dec 11th 2017, 20:35 |
birdy247 |
laravell mix also looks good |
# |
Dec 11th 2017, 20:35 |
birdy247 |
I have to give it to the laracasts, they do a great job at getting a good understanding of things |
# |
Dec 11th 2017, 20:34 |
birdy247 |
I have been looking at vue.js for a few weeks |
# |
Dec 11th 2017, 20:34 |
birdy247 |
evening |
# |
Dec 11th 2017, 20:24 |
saeideng |
no |
# |
Dec 11th 2017, 20:24 |
dereuromark |
the method already exists in 3.6, right? |
# |
Dec 11th 2017, 20:24 |
dereuromark |
it is BC break, as outlined in the ticket best to be done with a major. |
# |
Dec 11th 2017, 20:22 |
saeideng |
in 3.6? |
# |
Dec 11th 2017, 20:22 |
saeideng |
do you think we should have `setConfigShallow`? |
# |
Dec 11th 2017, 20:22 |
saeideng |
@dereuromark |
# |
Dec 11th 2017, 19:56 |
Mendru |
How could she be wrong ? |
# |
Dec 11th 2017, 19:56 |
Mendru |
public function isAuthorized($user) { return false; } |
# |
Dec 11th 2017, 19:56 |
Mendru |
In my AppController, here is my method |
# |
Dec 11th 2017, 19:56 |
Mendru |
I have an error : return type declarations must be compatible with Controller->isauthorized(user) : bool |
# |
Dec 11th 2017, 19:38 |
Mendru |
Hi, could someone help me ? I'm being crazy |
# |
Dec 11th 2017, 19:09 |
meder |
hmic: hm i just recall that one time i tried to patch an entity and it crapping out on fields i never even specified (not through association) |
# |
Dec 11th 2017, 19:08 |
meder |
will a transaction catch a db execution done through an event dispatcher? |