File "Arrayable.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/woo-license-keys/vendor/10quality/php-data-model/src/Contracts/Arrayable.php
File
size: 499 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
namespace TenQuality\Data\Contracts;
/**
* Interface for any object that can be casted to array.
*
* @author Cami M <[email protected]>
* @copyright 10 Quality <[email protected]>
* @package TenQuality\Data\Model
* @version 1.0.0
*/
interface Arrayable
{
/**
* Returns object as string.
* @since 1.0.0
*/
public function __toArray();
/**
* Returns object as string.
* @since 1.0.0
*/
public function toArray();
}