/** * Constructor with parameters * Array of arguments with keys * - 'redirect_id' int * * @param array $args */ public function __construct(array $args) { parent::__construct($args); $this->_redirectId = !empty($args['redirect_id']) ? (int) $args['redirect_id'] : null; }