2017 © Pedro Peláez
 

library application

Application

image

satori/application

Application

  • Friday, March 17, 2017
  • by davletshin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 42 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Application interface

Requires PHP 7, (*1)

Usage

declare(strict_types=1);

namespace My\Super;

use Satori\Application\ApplicationInterface;

class Application implements ApplicationInterface
{
    public function __get(string $id)
    {
        // You must implement this method. 
    }

    public function __set(string $id, callable $definition)
    {
        // You must implement this method. 
    }

    public function __isset(string $id): bool
    {
        // You must implement this method. 
    }

    public function offsetExists($key)
    {
        // You must implement this method. 
    }

    public function offsetGet($key)
    {
        // You must implement this method. 
    }

    public function offsetSet($key, $value)
    {
        // You must implement this method. 
    }

    public function offsetUnset($key)
    {
        // You must implement this method. 
    }

    public function subscribe(string $event, string $listener, callable $callback)
    {
        // You must implement this method. 
    }

    public function notify(string $event, array $arguments = null)
    {
        // You must implement this method. 
    }

    public function run(string $id)
    {
        // You must implement this method. 
    }
}

License

MIT License, (*2)

The Versions

17/03 2017

dev-master

9999999-dev

Application

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Yuriy Davletshin

framework container dispatcher event di satori