-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move blanko objecte to seperate namespace and test for "not supported…
… object"
- Loading branch information
1 parent
91e72c3
commit f98e02b
Showing
5 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...s/KlinaiTest/Client/_files/ObjectJson.php → ...linaiTest/Client/TestAsset/ObjectJson.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
namespace KlinaiTest\Client\TestAsset; | ||
|
||
class ObjectJson implements \JsonSerializable { | ||
protected $data; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace KlinaiTest\Client\TestAsset; | ||
|
||
class ObjectNotSupported { | ||
public function __construct() { | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
...linaiTest/Client/_files/ObjectToArray.php → ...aiTest/Client/TestAsset/ObjectToArray.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
namespace KlinaiTest\Client\TestAsset; | ||
|
||
class ObjectToArray { | ||
protected $data; | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
...KlinaiTest/Client/_files/ObjectToJson.php → ...naiTest/Client/TestAsset/ObjectToJson.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
namespace KlinaiTest\Client\TestAsset; | ||
|
||
class ObjectToJson { | ||
protected $data; | ||
|
||
|