2017 © Pedro Peláez
 

library service-autoloader

Service autoloader for Nette Framework

image

minetro/service-autoloader

Service autoloader for Nette Framework

  • Friday, December 9, 2016
  • by f3l1x
  • Repository
  • 2 Watchers
  • 2 Stars
  • 2,433 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

, (*1)

, (*2)

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte , (*3)

Disclaimer

:warning: This project is no longer being maintained. Please use contributte/di.
Composer minetro/service-autoloader
Version
PHP
License

Usage

extensions:
    autoload: Minetro\Autoloader\DI\ServiceAutoloadExtension

By default

This configuration is enabled by default., (*4)

autoload:
    dirs:
        - %appDir%

    annotations:
        - @Service

    interfaces:
        - Minetro\Autoloader\AutoloadService

    decorator:
        inject: off

Custom

You can override all configuration settings you want to., (*5)

autoload:
    dirs:
        - %appDir%
        - %libsDir%
        - %fooDir%

    annotations:
        - @Service
        - @MyCustomService

    interfaces:
        - Minetro\Autoloader\AutoloadService
        - App\Model\MyAutoloadServiceInterface

    decorator:
        inject: on / off

Performance

Service loading is triggered only once at dependency injection container compile-time. You should be pretty fast, almost as official registering presenter as services., (*6)

Development

This package was maintain by these authors., (*7)

, (*8)


Consider to support contributte development team. Also thank you for being used this package., (*9)

The Versions

09/12 2016

dev-master

9999999-dev https://github.com/minetro/service-autoloader

Service autoloader for Nette Framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires