forked from ezsystems/ezpublish-spi
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
/** | ||
* File containing the eZ\Publish\SPI\Persistence\Content\Search\Document class | ||
* | ||
* @copyright Copyright (C) eZ Systems AS. All rights reserved. | ||
* @license For full copyright and license information view LICENSE file distributed with this source code. | ||
* @version //autogentag// | ||
*/ | ||
|
||
namespace eZ\Publish\SPI\Search; | ||
|
||
use eZ\Publish\API\Repository\Values\ValueObject; | ||
|
||
/** | ||
* Base class for documents. | ||
*/ | ||
class Document extends ValueObject | ||
{ | ||
/** | ||
* An array of fields | ||
* | ||
* @var \eZ\Publish\SPI\Search\Field[] | ||
*/ | ||
public $fields = array(); | ||
|
||
/** | ||
* An array of sub-documents | ||
* | ||
* @var \eZ\Publish\SPI\Search\Document[] | ||
*/ | ||
public $documents = array(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters