Added configuring repository by annotation

This commit is contained in:
Richard Miller 2011-12-13 19:26:03 +00:00
commit 048b1ff625
5 changed files with 74 additions and 14 deletions

18
Configuration/Search.php Normal file
View 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;
}