/** * Constructs a new instance * @param sfLucene $search The search instance to index to * @param BaseObject $instance The model instance to index */ public function __construct($search, $instance) { if (!$instance instanceof BaseObject) { throw new sfLuceneIndexerException('Model is not a Propel model (must extend BaseObject)'); } parent::__construct($search, $instance); }