<?php namespace Metadata\Driver; use Symfony\Component\DependencyInjection\ContainerInterface; class LazyLoadingDriver implements DriverInterface { private $container; private $realDriverId; public function __construct(ContainerInterface $container, $realDriverId) { $this->container = $container; $this->realDriverId = $realDriverId; } /** * {@inheritDoc} */ public function loadMetadataForClass(\ReflectionClass $class) { return $this->container->get($this->realDriverId)->loadMetadataForClass($class); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
AbstractFileDriver.php | File | 1.44 KB | 0644 |
|
AdvancedDriverInterface.php | File | 329 B | 0644 |
|
AdvancedFileLocatorInterface.php | File | 372 B | 0644 |
|
DriverChain.php | File | 1.36 KB | 0644 |
|
DriverInterface.php | File | 232 B | 0644 |
|
FileLocator.php | File | 1.71 KB | 0644 |
|
FileLocatorInterface.php | File | 275 B | 0644 |
|
LazyLoadingDriver.php | File | 584 B | 0644 |
|