Giter Site home page Giter Site logo

contributte / di Goto Github PK

View Code? Open in Web Editor NEW
46.0 5.0 9.0 174 KB

:sparkles: Extra contrib to nette/di (@nette)

Home Page: https://contributte.org/packages/contributte/di.html

License: MIT License

PHP 97.43% Makefile 2.57%
autoloader nette-framework dependency-injection contributte nette

di's Introduction

Website ๐Ÿš€ contributte.org | Contact ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป f3l1x.io | Twitter ๐Ÿฆ @contributte

Usage

To install latest version of contributte/di use Composer.

composer require contributte/di

Documentation

For details on how to use this package, check out our documentation.

Versions

State Version Branch Nette PHP
dev ^0.6 master 3.0+ >=7.2
stable ^0.5 master 3.0+ >=7.2

Development

See how to contribute to this package. This package is currently maintained by these authors.


Consider to support contributte development team. Also thank you for using this package.

di's People

Contributors

f3l1x avatar gappa avatar jankonas avatar mabar avatar mirdic avatar petrparolek avatar radekdostal avatar roman3349 avatar spareparts avatar vody105 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

di's Issues

Call to undefined method Nette\Loaders\RobotLoader::setCacheStorage()

Hello,

I testing apitte but when I use this in config.neon:
resource:
resources:
App\Controllers:
paths: [%appDir%/controllers]

I get this error:
Nette\MemberAccessException
Call to undefined method Nette\Loaders\RobotLoader::setCacheStorage().

Last muted error
Warning: file_get_contents(/var/www/api_nette/app/../temp/cache/Nette.Configurator/Container_5efa733610.php.meta): failed to open stream: No such file or directory

.../vendor/nette/di/src/DI/ContainerLoader.php:108

If I define controller in service all works fine.

Kickoff

  • register all services by annotation
  • register all services by interface
  • register all services by folder
  • register all services by mask

ContainerBuilder - helpers/factories

  • Statement::container()
  • CompilerExtension::expandConfig()
  • CompilerExtension::bootConfig() / mergeConfig() / loadConfig()
  • ContainerBuilder::findDefinitionsByTag()
  • Container::createLazyService()
  • priorities

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.