public function __construct($api_key = NULL) { // sanitization parent::__construct(preg_replace('/\\W/', '', $api_key)); }