This repository has been archived on 2020-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
php-armadillo/stubs/internal/Resizable.php

29 lines
524 B
PHP
Raw Normal View History

2019-03-10 15:23:11 +00:00
<?php
namespace Arma\Internal;
2019-03-13 15:19:05 +00:00
/**
* Interface for resizable objects (non-subview objects)
*
* @package Arma\Internal
*/
2019-03-10 15:23:11 +00:00
interface Resizable
{
/**
* Set the size to be the same as the given object.
*
* The given object must be of the same root type as the calling object.
*
* @param static $other
* @return void
*/
function copySize($other);
/**
* Reset the size to zero. The object will have no elements.
*
* @return void
*/
function reset();
}