Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
[zendframework/zendframework#5283] Add E_USER_DEPRECATED error on loa…
Browse files Browse the repository at this point in the history
…ding old trait
  • Loading branch information
weierophinney committed Oct 23, 2013
1 parent 382717d commit e892111
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ProvidesEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

namespace Zend\EventManager;

trigger_error('Zend\EventManager\ProvidesEvents has been deprecated in favor of Zend\EventManager\EventManagerAwareTrait; please update your code', E_USER_DEPRECATED);

/**
* @deprecated Please use EventManagerAwareTrait instead.
*
Expand Down

0 comments on commit e892111

Please sign in to comment.