Skip to content

Commit

Permalink
Txt updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Nov 27, 2018
1 parent 27a0a43 commit 97ed6fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -74,7 +74,7 @@ $entity = Entity::createFromJsonFile('./models/profile.json', $id);
$entity->name = 'Kedibey';
$entity->age = 11;
$entity->email = 'kedibey@world-of-wonderful-cats-yay.com';
$entity->website = 'orld-of-wonderful-cats-yay.com';
$entity->website = 'world-of-wonderful-cats-yay.com';
$entity->location = new stdClass();
$entity->location->country = 'TR';
$entity->location->address = 'Kadıköy, İstanbul';
Expand Down Expand Up @@ -104,7 +104,7 @@ $entity = Entity::createFromJsonFile('./models/profile.json', $id);
$entity->name = 'Kedibey';
$entity->age = 11;
$entity->email = 'kedibey@world-of-wonderful-cats-yay.com';
$entity->website = 'orld-of-wonderful-cats-yay.com';
$entity->website = 'world-of-wonderful-cats-yay.com';

$partiallyValidateFields = ['name', 'age', 'email', 'website'];

Expand All @@ -130,7 +130,7 @@ use Selami\Entity\ValueObjectTrait;

final ProfileValueObject implements ValueObjectInterface
{
private static schemaFile = 'models/profile';
private static schemaFile = 'models/profile.json';

use ValueObject;

Expand Down Expand Up @@ -158,7 +158,7 @@ use Selami\Entity\EntityTrait;

final ProfileEntity implements EntityInterface
{
private static schemaFile = 'models/profile';
private static schemaFile = 'models/profile.json';

use EntityTrait;

Expand Down

0 comments on commit 97ed6fe

Please sign in to comment.