public function __construct() { $path = URLDecode::getPiece(1); $this->county = CountyCollector::getByAlias($path); if(!$this->county) $this->eject(); parent::__construct(); }
public function __construct() { $path = URLDecode::getPiece(1); $this->watercourse = WatercourseCollector::getByAlias($path); if(!$this->watercourse) $this->eject(); parent::__construct(); }