ecoco/magento_profiler

View on GitHub
app/code/community/Ecocode/Profiler/Helper/AbstractHelper.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/**
 * Class Ecocode_Profiler_Helper_AbstractHelper
 */
abstract class Ecocode_Profiler_Helper_AbstractHelper
{

    /**
     * @return null|Ecocode_Profiler_Model_Profile
     * @codeCoverageIgnore
     */
    public function getCurrentProfile()
    {
        return Mage::registry('current_profile');
    }
}