Config Source providers
This commit is contained in:
parent
813a4a5d26
commit
ada3942576
12 changed files with 457 additions and 36 deletions
31
Configuration/TypeConfig.php
Normal file
31
Configuration/TypeConfig.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the FOSElasticaBundle project.
|
||||
*
|
||||
* (c) Tim Nagel <tim@nagel.com.au>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace FOS\ElasticaBundle\Configuration;
|
||||
|
||||
class TypeConfig
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $config;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $name;
|
||||
|
||||
public function __construct($name, array $config, array $prototype)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->name = $name;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue