File "Arrayable.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/woo-license-keys/vendor/10quality/wpmvc-mvc/src/Contracts/Arrayable.php
File
size: 601 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
namespace WPMVC\MVC\Contracts;
/**
* Interface contract for objects that can cast to arrays.
*
* @author Alejandro Mostajo <http://about.me/amostajo>
* @copyright 10Quality <http://www.10quality.com>
* @license MIT
* @package WPMVC\MVC
* @version 2.1.6
*/
interface Arrayable
{
/**
* Returns object converted to array.
* @since 1.0.0
*
* @param array.
*/
public function to_array();
/**
* Returns object converted to array.
* @since 1.0.1
*
* @param array.
*/
public function __toArray();
}