Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Container::__get() is deprecated #39

Closed
wants to merge 1 commit into from
Closed

Conversation

enumag
Copy link
Contributor

@enumag enumag commented Jul 30, 2013

No description provided.

@JanTvrdik
Copy link
Contributor

already resolved

@ghost
Copy link

ghost commented Dec 12, 2013

On the othar hand. What si better?

  1. dg - $container->getService('application')->run();
  2. enumag - $container->getByType('\Nette\Application\Application')->run();

@hrach
Copy link

hrach commented Dec 12, 2013

  1. $container->getByType('Nette\Application\Application')->run();

@dg dg closed this Dec 12, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants