From 8836e2ed08752c34a75c4f1ee00935cccccd0a32 Mon Sep 17 00:00:00 2001 From: Adam Heinz Date: Thu, 1 Oct 2015 09:38:53 -0400 Subject: [PATCH] Remove trait use to placate PHP 5.3 --- Entity/XhguiRuns.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Entity/XhguiRuns.php b/Entity/XhguiRuns.php index a99dafd..2f71e9d 100644 --- a/Entity/XhguiRuns.php +++ b/Entity/XhguiRuns.php @@ -4,11 +4,24 @@ use iXHProfRuns; use Symfony\Component\DependencyInjection\ContainerAwareInterface; -use Symfony\Component\DependencyInjection\ContainerAwareTrait; +use Symfony\Component\DependencyInjection\ContainerInterface; class XhguiRuns implements iXHProfRuns, ContainerAwareInterface { - use ContainerAwareTrait; + /** + * @var ContainerInterface + */ + protected $container; + + /** + * Sets the Container associated with this Controller. + * + * @param ContainerInterface $container A ContainerInterface instance + */ + public function setContainer(ContainerInterface $container = null) + { + $this->container = $container; + } public function __construct($serverName, $uri) { $this->serverName = $serverName;