| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public static function init() |
||
| 24 | { |
||
| 25 | if (false === static::$_init) { |
||
| 26 | // inject Composer autoloader inside Doctrine annotation reader. |
||
| 27 | AnnotationRegistry::registerLoader([ |
||
|
|
|||
| 28 | require sprintf('%s/autoload.php', static::getVendorPath()), |
||
| 29 | 'loadClass', |
||
| 30 | ]); |
||
| 31 | |||
| 32 | static::$_init = true; |
||
| 33 | } |
||
| 34 | } |
||
| 35 | |||
| 54 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.