Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PhpInformation.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Setup\Model;
8 
15 {
16 
20  const XDEBUG_NESTED_LEVEL = 200;
21 
27  protected $current = [];
28 
34  {
36  }
37 
43  public function getCurrent()
44  {
45  if (!$this->current) {
46  $this->current = array_map(function ($ext) {
47  return str_replace(' ', '-', strtolower($ext));
48  }, get_loaded_extensions());
49  }
50  return $this->current;
51  }
52 }