Common interfaces and classes I use in an app. Mostly for teaching OOP
GitHub - midorikocak/interfaces: Common interfaces I use in an app. Mostly for teaching OOP
Interfaces

Most common interfaces I use in apps. Mostly for teaching OOP.


You can use this library in your app to create your classes designed by contract.
Installation
After you go into the app directory, you should execute following commands.
OS X & Linux:
composer require midorikocak/interfaces
Usage example
You should use the interfaces, and your class should implement the interface you want to use.
An interface has only public methods. I use php 7 in this lib, so that all methods should have
exact parameter and return types, defined in the interfaces.
Development setup
To run all tests of the app, execute these commands in the app directory.

Release History

0.0.1

Work in progress
packagist auto update
better interface organization
tests are not finished yet



Meta
Midori Kocak – @midorikocak – midori@mynameismidori.com
Distributed under the MIT license. See LICENSE for more information.
https://github.com/midorikocak/prezis
