Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 5f9ddab

Browse files
author
Mateo Mujica
committed
test custom mapper
1 parent 9f664a1 commit 5f9ddab

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Particle/Apps/Entities/Mapper/Person.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
namespace Particle\Apps\Entities\Mapper;
44

5-
use Spot\Mapper;
6-
7-
class Persona extends Mapper
5+
class Persona extends \Spot\Mapper
86
{
97
public function libros1eraEdicion()
108
{

Particle/Apps/Entities/Person.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class Person extends \Spot\Entity
1111
{
1212
protected static $table = 'person';
13-
protected static $mapper = 'Particle\Apps\Entities\Mapper\Person';
13+
protected static $mapper = 'Entities\Mapper\Person';
1414

1515
public static function fields()
1616
{

0 commit comments

Comments
 (0)