Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Add test methods to builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakin Mohapatra authored and Lakin Mohapatra committed Feb 12, 2016
1 parent e59ac41 commit f0b0870
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/Database/Eloquent/Builder.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php namespace filemaker_laravel\Database\Eloquent;

use laravel_filemaker\Database\Query\Builder as QueryBuilder;
use Illuminate\Database\Eloquent\Builder as EloBuilder;

class Builder extends EloBuilder
{
/**
* Create a new Eloquent query builder instance.
*
* @param \Illuminate\Database\Query\Builder $query
* @return void
*/
public function __construct(QueryBuilder $query)
{
$this->query = $query;
}

public function testElo()
{
echo 'eloquent builder';
}
}
11 changes: 11 additions & 0 deletions src/Database/Query/Builder.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php namespace laravel_filemaker\Database\Query;

use Illuminate\Database\Query\Builder as BaseBuilder;

class Builder extends BaseBuilder
{
public function test()
{
echo 'testBuilder';
}
}
File renamed without changes.
File renamed without changes.
Empty file removed src/Query/Builder.php
Empty file.

0 comments on commit f0b0870

Please sign in to comment.