Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @license MIT |
| 5 | * @author hazuki3417<hazuki3417@gmail.com> |
| 6 | * @copyright 2021 hazuki3417 all rights reserved. |
| 7 | */ |
| 8 | |
| 9 | namespace Selen\Data\Structure; |
| 10 | |
| 11 | /** |
| 12 | * @extends \Iterator<mixed> |
| 13 | */ |
| 14 | interface StackInterface extends ObjectsInterface, \Iterator |
| 15 | { |
| 16 | /** |
| 17 | * プッシュします |
| 18 | * |
| 19 | * @param mixed $object オブジェクトを渡します |
| 20 | */ |
| 21 | public function push($object): void; |
| 22 | |
| 23 | /** |
| 24 | * ポップします |
| 25 | * |
| 26 | * @return mixed オブジェクトを返します |
| 27 | */ |
| 28 | public function pop(); |
| 29 | } |