public function __construct($card) { parent::__construct($card); $this->keys = array_keys($this->data); foreach( $this->keys as $key ) { if ( array_key_exists( $key, $_GET ) ) { $this->Mutate( $key, $_GET[$key] ); $this->data[$key] = $_GET[$key]; } } }
/** * Set the card type * * @since 1.0.0 * * @return void */ public function __construct() { parent::__construct(static::TYPE); }
function __construct() { $this->handle_inbox(); parent::__construct(); }