Added configuring repository by annotation
This commit is contained in:
parent
564f1c843b
commit
048b1ff625
5 changed files with 74 additions and 14 deletions
18
Configuration/Search.php
Normal file
18
Configuration/Search.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace FOQ\ElasticaBundle\Configuration;
|
||||
|
||||
/**
|
||||
* Annotation class for setting search repository.
|
||||
*
|
||||
* @author Richard Miller <info@limethinking.co.uk>
|
||||
* @Annotation
|
||||
* @Target("CLASS")
|
||||
*/
|
||||
class Search
|
||||
{
|
||||
|
||||
/** @var string */
|
||||
public $repositoryClass;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue