public function __construct() { parent::__construct(); $this->uniqueName = md5(rand(0, 9999) . time() . rand(0, 9999)); }