2017 © Pedro Peláez
 

project interfaces

common interfaces I use in an app. Mostly for teaching OOP

image

midorikocak/interfaces

common interfaces I use in an app. Mostly for teaching OOP

  • Wednesday, June 22, 2016
  • by midorikocak
  • Repository
  • 1 Watchers
  • 5 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Interfaces

Most common interfaces I use in apps. Mostly for teaching OOP., (*1)

Build Status, (*2)

You can use this library in your app to create your classes designed by contract., (*3)

Installation

After you go into the app directory, you should execute following commands. OS X & Linux:, (*4)

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., (*5)

Development setup

To run all tests of the app, execute these commands in the app directory., (*6)

composer install
phpunit

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, (*7)

Distributed under the MIT license. See LICENSE for more information., (*8)

https://github.com/midorikocak/prezis, (*9)

The Versions

22/06 2016

dev-master

9999999-dev

common interfaces I use in an app. Mostly for teaching OOP

  Sources   Download

MIT

The Requires