Permalink
Browse files

first commit

  • Loading branch information...
francescoagati committed Oct 19, 2012
1 parent df012e4 commit bed40531fd221828f121ae5b4cdb82c9be1001a2
Showing with 508 additions and 0 deletions.
  1. +74 −0 cache/.php
  2. +15 −0 composer.json
  3. +315 −0 composer.lock
  4. +71 −0 main.php
  5. +32 −0 services.yml
  6. +1 −0 templates/prova.twig
View
@@ -0,0 +1,74 @@
+<?php
+
+use Symfony\Component\DependencyInjection\ContainerInterface;
+use Symfony\Component\DependencyInjection\Container;
+use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
+use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
+use Symfony\Component\DependencyInjection\Exception\LogicException;
+use Symfony\Component\DependencyInjection\Exception\RuntimeException;
+use Symfony\Component\DependencyInjection\Reference;
+use Symfony\Component\DependencyInjection\Parameter;
+use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
+
+/**
+ * ProjectServiceContainer
+ *
+ * This class has been auto-generated
+ * by the Symfony Dependency Injection Component.
+ */
+class ProjectServiceContainer extends Container
+{
+ /**
+ * Constructor.
+ */
+ public function __construct()
+ {
+ $this->services =
+ $this->scopedServices =
+ $this->scopeStacks = array();
+
+ $this->set('service_container', $this);
+
+ $this->scopes = array();
+ $this->scopeChildren = array();
+ }
+
+ /**
+ * Gets the 'app' service.
+ *
+ * This service is shared.
+ * This method always returns the same instance of the service.
+ *
+ * @return App A App instance.
+ */
+ protected function getAppService()
+ {
+ return $this->services['app'] = new \App($this->get('proxy'));
+ }
+
+ /**
+ * Gets the 'curl' service.
+ *
+ * This service is shared.
+ * This method always returns the same instance of the service.
+ *
+ * @return Curl A Curl instance.
+ */
+ protected function getCurlService()
+ {
+ return $this->services['curl'] = new \Curl();
+ }
+
+ /**
+ * Gets the 'proxy' service.
+ *
+ * This service is shared.
+ * This method always returns the same instance of the service.
+ *
+ * @return Proxy A Proxy instance.
+ */
+ protected function getProxyService()
+ {
+ return $this->services['proxy'] = new \Proxy($this->get('curl'));
+ }
+}
View
@@ -0,0 +1,15 @@
+{
+ "require": {
+ "monolog/monolog": "1.2.*",
+ "symfony/dependency-injection": "dev-master",
+ "symfony/yaml": "dev-master",
+ "symfony/config": "dev-master",
+ "resty/resty": "dev-master",
+ "twig/twig": "dev-faster-exceptions"
+ },
+ "autoload":{
+ "psr-0":{
+ "":"lib/"
+ }
+ }
+}
Oops, something went wrong.

0 comments on commit bed4053

Please sign in to comment.