Skip to content

Commit 2c06f64

Browse files
committed
Move Errorable & HttpForm models to Core
1 parent 929aa6e commit 2c06f64

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/Models/ActiveUser.php

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

33
namespace BNETDocs\Models;
44

5-
class ActiveUser extends Errorable implements \JsonSerializable
5+
class ActiveUser extends \BNETDocs\Models\Core\Errorable implements \JsonSerializable
66
{
77
/**
88
* The current user that is logged in to the site, or null if not logged in.

src/Models/Errorable.php renamed to src/Models/Core/Errorable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace BNETDocs\Models;
3+
namespace BNETDocs\Models\Core;
44

5-
class Errorable extends Base implements \JsonSerializable
5+
class Errorable extends \BNETDocs\Models\Base implements \JsonSerializable
66
{
77
/**
88
* Stores error state information between Controller and downstream handlers, useful for Template rendering.

src/Models/HttpForm.php renamed to src/Models/Core/HttpForm.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace BNETDocs\Models;
3+
namespace BNETDocs\Models\Core;
44

5-
class HttpForm extends ActiveUser implements \JsonSerializable
5+
class HttpForm extends \BNETDocs\Models\ActiveUser implements \JsonSerializable
66
{
77
/**
88
* The key-value store of the form.

src/Models/Server/Form.php

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

33
namespace BNETDocs\Models\Server;
44

5-
class Form extends \BNETDocs\Models\HttpForm implements \JsonSerializable
5+
class Form extends \BNETDocs\Models\Core\HttpForm implements \JsonSerializable
66
{
77
public const ERROR_ACCESS_DENIED = 'ACCESS_DENIED';
88
public const ERROR_INTERNAL = 'INTERNAL_ERROR';

src/Models/User/Delete.php

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

33
namespace BNETDocs\Models\User;
44

5-
class Delete extends \BNETDocs\Models\HttpForm implements \JsonSerializable
5+
class Delete extends \BNETDocs\Models\Core\HttpForm implements \JsonSerializable
66
{
77
public const ERROR_ACL_NOT_SET = 'ACL_NOT_SET';
88
public const ERROR_INTERNAL_ERROR = 'INTERNAL_ERROR';

0 commit comments

Comments
 (0)