Zend Framework

Autoloader suppresses warnings by default

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.8.0
  • Fix Version/s: None
  • Component/s: Zend_Loader
  • Labels:
    None
  • Language:
    English

Description

"By default, Zend_Loader_Autoloader does no error suppression when using its internal autoloader, which utilizes Zend_Loader::loadClass(). Most of the time, this is exactly what you want. However, there may be cases where you want to suppress them. You can do this using suppressNotFoundWarnings()"

/**

  • @var bool Whether or not to suppress file not found warnings
    */
    protected $_suppressNotFoundWarnings = true;

Issue Links

Activity

Hide
Matthew Weier O'Phinney added a comment -

duplicates ZF-6536; closing. Track ZF-6536 for followup.

Show
Matthew Weier O'Phinney added a comment - duplicates ZF-6536; closing. Track ZF-6536 for followup.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: