Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 490 Bytes

File metadata and controls

31 lines (19 loc) · 490 Bytes

Stream Wrapper Contracts

Full and type-safe interface for PHP's stream wrapper.

Content

Setup

Install with Composer

composer require orisai/stream-wrapper-contracts

Usage

Implement StreamWrapper interface

use Orisai\StreamWrapperContracts\StreamWrapper;

final class ExampleStreamWrapper implements StreamWrapper
{

	// ...

}