/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Hook
NameSizeModeActions
Generator/-0755rm
Provider/-0755rm
Hook.php17670644editdlrm
HookDescription.php20140644editdlrm
HookDispatcher.php44330644editdlrm
HookDispatcherAwareTrait.php17830644editdlrm
HookDispatcherInterface.php22560644editdlrm
HookInterface.php14200644editdlrm
HookModuleFilter.php23050644editdlrm
HookModuleFilterInterface.php14130644editdlrm
RenderedHook.php19810644editdlrm
RenderedHookInterface.php15730644editdlrm
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Hook/RenderedHook.php (1981B)
* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Hook; /** * Class RenderingHook defines rendered hook. */ final class RenderedHook implements RenderedHookInterface { /** * @var HookInterface */ private $hook; /** * @var array ['module_name' => 'rendered_content', ...] */ private $content; /** * @param HookInterface $hook * @param array $content */ public function __construct(HookInterface $hook, array $content = []) { $this->hook = $hook; $this->content = $content; } /** * {@inheritdoc} */ public function getHook() { return $this->hook; } /** * {@inheritdoc} */ public function getContent() { return $this->content; } /** * {@inheritdoc} */ public function outputContent() { return implode('', $this->content); } }