Example #1
0
 /**
  * {@inheritDoc}
  */
 public function getStorage($class)
 {
     try {
         return $this->registry->getStorage($class);
     } catch (InvalidArgumentException $e) {
         return $this->fallbackRegistry->getStorage($class);
     }
 }
Example #2
0
 /**
  * {@inheritDoc}
  */
 public function getStorage($class)
 {
     return $this->staticRegistry->getStorage($class);
 }