AD
Size: a a a
AD
VP
AS
v
$process = Process::fromShellCommandline('../bin/console test:test 5');
$process->start();
а на другой ни в какую. запускается только через ->run() либо если добавитьwhile ($process->isRunning()) {
// waiting for process to finish
}
как отдебажить это чудо?SP
k
where (fieldExpression or :isExpressionDisabled) and (anotherFieldExpression or :anotherExpressionDisabled) ...
order by
case when :direction = 'asc' then
case
when :field = 'state' then state
when :field = 'email' then email
end
end,
case when :direction = 'desc' then
case
when :field = 'state' then state
when :field = 'email' then email
end
end desc;
DT
SP
K
Symfony\Component\ErrorHandler\Error\ClassNotFoundError^ {#2139
#message: """
Attempted to load class "HttpClient" from namespace "Symfony\Component\HttpClient".\n
Did you forget a "use" statement for another namespace?
"""
#code: 0
#file: "/app/parser/var/cache/dev/ContainerJnPAkCs/getHttpClientService.php"
#line: 20
trace: {
/app/parser/var/cache/dev/ContainerJnPAkCs/getHttpClientService.php:20 {
ContainerJnPAkCs\getHttpClientService::do($container, $lazyLoad = true)^
› {
› $container->privates['http_client'] = $instance = \Symfony\Component\HttpClient\HttpClient::create([], 6);
›
}
{ …}
{ …}
/app/parser/vendor/autoload_runtime.php:35 { …}
/app/parser/bin/console:11 { …}
}
}
composer require symfony/http-clientIS
MK
MK