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
3declare(strict_types=1);
4
5namespace PeServer\Core;
6
7/**
8 * 解放処理用インターフェイス。
9 *
10 * Code::using でうまいことやりたいのだ。
11 */
12interface IDisposable
13{
14    #region function
15
16    /**
17     * 解放済みか。
18     *
19     * @return boolean
20     */
21    public function isDisposed(): bool;
22
23    /**
24     * 解放処理。
25     *
26     * @return void
27     */
28    public function dispose(): void;
29
30    #endregion
31}