[FEATURE] Add ObjectManager->getScope like in TYPO3.Flow 89/21189/5
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Sun, 2 Jun 2013 10:59:52 +0000 (12:59 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 4 Jun 2013 19:33:06 +0000 (21:33 +0200)
commit67ab0c701cce08a372b0b7a9be29955766a5576f
tree77335db0c52a6a21b2741ccd0a319902d10fbb47
parent1fffaa99d31eff9dd22f9f6702705eaf94aa2b98
[FEATURE] Add ObjectManager->getScope like in TYPO3.Flow

This method detects if a class is of type prototype or
singleton. We need this method as it is a dependency for
further backporting of the Flow validation api.

Releases: 6.2
Resolves: #48766
Change-Id: I4d6b043a4015c31ede0b099eebed4491a38723cd
Reviewed-on: https://review.typo3.org/21189
Tested-by: Wouter Wolters
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Object/Container/Container.php
typo3/sysext/extbase/Classes/Object/ObjectManager.php
typo3/sysext/extbase/Classes/Object/ObjectManagerInterface.php
typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php