Last active
January 5, 2016 21:55
-
-
Save filbertkm/9155d7095c305e43c579 to your computer and use it in GitHub Desktop.
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
class TextContent extends AbstractContent { | |
/** | |
* Returns the text represented by this Content object, as a string. | |
* | |
* @return string The raw text. | |
*/ | |
public function getTextForSearchIndex() { | |
return $this->getNativeData(); | |
} | |
/** | |
* @param string[] | |
*/ | |
public function getFieldsForSearchIndex( array $fieldNames ) { | |
} | |
/** | |
* @return Field[] key => field definition | |
*/ | |
public function getSearchIndexFieldDefinitions() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment