You are here

public function ClassMetadataFactory::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Mapping/Factory/ClassMetadataFactory.php \Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory::__construct()

Parameters

LoaderInterface $loader:

Cache|null $cache:

File

vendor/symfony/serializer/Mapping/Factory/ClassMetadataFactory.php, line 43

Class

ClassMetadataFactory
Returns a {@link ClassMetadata}.

Namespace

Symfony\Component\Serializer\Mapping\Factory

Code

public function __construct(LoaderInterface $loader, Cache $cache = null) {
  $this->loader = $loader;
  $this->cache = $cache;
}