Rogier Borst
Rogier Borst
On page 143 you discuss overloading. You state you add the following method to TestCase.php: ``` php // TestCase.php public function __call($method, $args) { if ( in_array($method, ['get', 'post', 'put',...
I've organized my models into repositories, just like you describe in the book, but there's one thing I still don't know how to mock and test; eager loading. In my...
When using `v-repeat`, I understand you can use `$index` inside the loop to get the array index of the current object. If you'd use `v-repeat` on say, a list item,...
I'd love to be able to insert multiple records into the database in one fell swoop. I know you can do that with something like `User::insert([array of multiple user detail...
I have three tables, 'actors', 'series' and 'movies'. An actor can belong to many series and/or many movies, and both movies and series can have many actors. Good case for...
First time I've created an annotated tag in GitExtensions. I now see the tag name, but when I double click on it, all I see is the commit message, not...
Is there any way to influence how the PDF is built up? Or the print export? I'd like to be able to add our company logo for example, and add...
I'm using the DataTables as a Service functionality. In my DataTable class I use the `ajax()` method to 'decorate' the data as follows: ``` php return $this->datatables->of($this->query()) ->editColumn('provider', '{{$providerName}}') ->editColumn(...
I was wondering, isn't this a very one-way transformation? Let's say my repo is using snake_case and with fractal I'm outputting as camelCase. Now the client wants to create a...