Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 461 Bytes
<?php
namespace Equip\Structure;
interface StructureInterface extends
\ArrayAccess,
\Countable,
\Iterator,
\JsonSerializable,
\Serializable
{
/**
* Check if given structure is the same as this structure.
*
* @return boolean
*/
public function isSimilar(StructureInterface $target);
/**
* Get an array copy of the current structure.
*
* @return array
*/
public function toArray();
}