function __construct($value = ',') { try { parent::__construct($value); } catch (\domainException $exception) { throw new csv\exception\domain('Separator should be a string'); } }
function __construct($value = "\r\n") { try { parent::__construct($value); } catch (\domainException $exception) { throw new csv\exception\domain('End-of-line should be a string'); } }
function __construct($value = '') { $domainException = null; try { parent::__construct($value); } catch (\domainException $domainException) { throw new exception\domain('Data should be a string'); } }
static function validate($value) { return parent::validate($value) && self::isNotEmpty($value); }
static function validate($name) { return parent::validate($name) && self::containsAllowedCharacters($name); }
static function validate($value) { return parent::validate($value) && self::isHost($value); }
static function validate($value) { return parent::validate($value) && self::isPhpLabel($value); }