Zend Framework

Zend_Session package full of hardcoded variables that should be constants

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: Next Major Release
  • Component/s: Zend_Session
  • Labels:
    None
  • Fix Version Priority:
    Must Have

Description

The Zend_Session package is full of hardcoded variables that should be constants; e.g. '__ZF', 'ENNH', etc. Would be much nicer if placed into Zend_Session_Abstract along the lines of:

const ZF_NS
const EXPIRE_NS_NS_HOP
etc.

Activity

Hide
Wil Sinclair added a comment -

Please categorize/fix as needed.

Show
Wil Sinclair added a comment - Please categorize/fix as needed.
Hide
Ralph Schindler added a comment -

Since the hardcoded values are not part of the public API (which constants are), i see no reason to make them constants.

-ralph

Show
Ralph Schindler added a comment - Since the hardcoded values are not part of the public API (which constants are), i see no reason to make them constants. -ralph

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: