Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| <?php | |
| namespace Popy\Calendar\Parser; | |
| use Popy\Calendar\ValueObject\DateRepresentationInterface; | |
| /** | |
| * Maps date lexer results into a date representation. | |
| */ | |
| interface ResultMapperInterface | |
| { | |
| /** | |
| * Maps lexer result parts into a DateRepresentation | |
| * | |
| * @param DateLexerResult $parts Result parts. | |
| * @param DateRepresentationInterface $date Date built by previous mappers. | |
| * | |
| * @return DateRepresentationInterface|null | |
| */ | |
| public function map(DateLexerResult $parts, DateRepresentationInterface $date); | |
| } |