初始化仓库
This commit is contained in:
8
vendor/topthink/think-helper/src/contract/Arrayable.php
vendored
Normal file
8
vendor/topthink/think-helper/src/contract/Arrayable.php
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace think\contract;
|
||||
|
||||
interface Arrayable
|
||||
{
|
||||
public function toArray(): array;
|
||||
}
|
||||
8
vendor/topthink/think-helper/src/contract/Jsonable.php
vendored
Normal file
8
vendor/topthink/think-helper/src/contract/Jsonable.php
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace think\contract;
|
||||
|
||||
interface Jsonable
|
||||
{
|
||||
public function toJson(int $options = JSON_UNESCAPED_UNICODE): string;
|
||||
}
|
||||
Reference in New Issue
Block a user