Posts by Nelson Lucas • 15 points
6 posts
-
0
votes2
answers202
viewsA: Parameters in JOB Laravel class 5.8
Solution: Instead of passing the service class in the constructor parameter, simply pass as parameter in the Handle function class ImportDocumentJob implements ShouldQueue { use Dispatchable,…
-
0
votes1
answer100
viewsQ: POO in PHP classes ( reuse methods and attributes from other inherited classes)
I have 3 classes that have the same function, however, some functions have the content of the implementation different from the others: Ex: class CategoryServices { /** * @var CategoryRepository */…
-
0
votes2
answers202
viewsQ: Parameters in JOB Laravel class 5.8
Error passing variable as parameter in constructor of an Laravel job Too few arguments to function App\Jobs\ImportDocumentJob::__construct (), 0 passed in…
-
0
votes0
answers180
viewsQ: Date Missing in field date/time Laravel
I am facing a problem with my production environment and developing from the Laravel. The development environment is linux (using apache2 and php7.1, sql server drives 2014 properly configured) and…
-
1
votes1
answer1837
viewsQ: Consume webservice Soap with PHP (xml with attributes)
I need to consume a wsdl but the XML for sending to the webservice server has attributes. I created an array containing all tags, but I was wondering how to add the attributes of each tag. XML to be…
-
0
votes0
answers120
viewsQ: Laravel works on "localhost" but on production server does not work
I have a problem in my system so that when publishing it in Xamp on my server, accessing locally (on this same server) all the css and js are loaded correctly, but when accessing from another…