PHP Class TextAnalysis\Extracts\DateExtract

Author: yooper
Inheritance: implements TextAnalysis\Interfaces\IExtractStrategy
显示文件 Open project: yooper/php-text-analysis Class Usage Examples

Public Methods

Method Description
filter ( string $token ) : false | DateTime

Protected Methods

Method Description
verify ( array $date ) : boolean Verify all the required fields are set in the array

Method Details

filter() public method

public filter ( string $token ) : false | DateTime
$token string
return false | DateTime

verify() protected method

Verify all the required fields are set in the array
protected verify ( array $date ) : boolean
$date array
return boolean