Zend\Validator\Isbn::setSeparator
Set separator characters.
It is allowed only empty string, hyphen and space.
Signature
public function setSeparator(string
$separator )
Parameters
$separator
— string
Returns
- Isbn
- Provides a fluent interface
Errors/Exceptions
-
InvalidArgumentException
- When $separator is not valid