X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Fdependency-injection%2FTests%2FFixtures%2Fphp%2Fservices13.php;fp=vendor%2Fsymfony%2Fdependency-injection%2FTests%2FFixtures%2Fphp%2Fservices13.php;h=04705a29e4692124d1fb972dea0c089c2254e38c;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=852e5a2f3c6b24748ea2f674ff81791440814ac9;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/symfony/dependency-injection/Tests/Fixtures/php/services13.php b/vendor/symfony/dependency-injection/Tests/Fixtures/php/services13.php index 852e5a2f3..04705a29e 100644 --- a/vendor/symfony/dependency-injection/Tests/Fixtures/php/services13.php +++ b/vendor/symfony/dependency-injection/Tests/Fixtures/php/services13.php @@ -1,5 +1,6 @@ services = array(); @@ -31,19 +29,29 @@ class ProjectServiceContainer extends Container $this->aliases = array(); } - /** - * {@inheritdoc} - */ + public function getRemovedIds() + { + return array( + 'Psr\\Container\\ContainerInterface' => true, + 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true, + 'foo' => true, + ); + } + public function compile() { - throw new LogicException('You cannot compile a dumped frozen container.'); + throw new LogicException('You cannot compile a dumped container that was already compiled.'); + } + + public function isCompiled() + { + return true; } - /** - * {@inheritdoc} - */ public function isFrozen() { + @trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Use the isCompiled() method instead.', __METHOD__), E_USER_DEPRECATED); + return true; }