CodeExplorer processDomainPart example
return new ValidEmail();
} protected function parseLeftFromAt(): Result
{ return $this->
processLocalPart();
} protected function parseRightFromAt(): Result
{ return $this->
processDomainPart();
} private function processLocalPart(): Result
{ $localPartParser =
new LocalPart($this->lexer
);
$localPartResult =
$localPartParser->
parse();
$this->localPart =
$localPartParser->
localPart();
$this->warnings =
array_merge($localPartParser->
getWarnings(),
$this->warnings
);
return $localPartResult;
}