Constituencies
in package
Constituency Utilities
Utility functions for dealing with constituency names
Table of Contents
Methods
- normaliseConstituencyName() : string|bool
- Normalise Constituency Name
Methods
normaliseConstituencyName()
Normalise Constituency Name
public
static normaliseConstituencyName(mixed $name) : string|bool
Turn variations on a constituency name into the canonical version.
Parameters
- $name : mixed
Return values
string|bool —The normalised constituency name, or false if no match.