16 lines
231 B
PHP
16 lines
231 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Args\Arrayable;
|
|
|
|
/**
|
|
* Arguments object that can be converted to an array.
|
|
*/
|
|
interface Arrayable {
|
|
/**
|
|
* @return ?array<string|int,mixed>
|
|
*/
|
|
public function toArray() :? array;
|
|
}
|