|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / vendor / magento / framework / View / Layout / |
Filename | /home/dev2.destoffenstraat.com/vendor/magento/framework/View/Layout/ProcessorInterface.php |
Size | 3 kb |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 07-Jan-2021 21:08 |
Last accessed | 23-Aug-2025 03:56 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\View\Layout;
/**
* Interface ProcessorInterface
*/
interface ProcessorInterface
{
/**
* Add XML update instruction
*
* @param string $update
* @return ProcessorInterface
*/
public function addUpdate($update);
/**
* Get all registered updates as array
*
* @return array
*/
public function asArray();
/**
* Get all registered updates as string
*
* @return string
*/
public function asString();
/**
* Add handle(s) to update
*
* @param string|string[] $handleName
* @return ProcessorInterface
*/
public function addHandle($handleName);
/**
* Remove handle from update
*
* @param string $handleName
* @return ProcessorInterface
*/
public function removeHandle($handleName);
/**
* Get handle names array
*
* @return array
*/
public function getHandles();
/**
* Add page handles
*
* Add the first existing (declared in layout updates) page handle along with all parents to the update.
* Return whether any page handles have been added or not.
*
* @param array $handlesToTry
* @return bool
*/
public function addPageHandles(array $handlesToTry);
/**
* Retrieve all design abstractions that exist in the system.
*
* @return array
*/
public function getAllDesignAbstractions();
/**
* Check page_layout design abstractions that exist in the system
*
* @param array $abstraction
* @return bool
*/
public function isPageLayoutDesignAbstraction(array $abstraction);
/**
* Check custom design abstractions that exist in the system
*
* @param array $abstraction
* @return bool
*/
public function isCustomerDesignAbstraction(array $abstraction);
/**
* Load layout updates by handles
*
* @param array|string $handles
* @throws \Magento\Framework\Exception\LocalizedException
* @return ProcessorInterface
*/
public function load($handles = []);
/**
* Get layout updates as \Magento\Framework\View\Layout\Element object
*
* @return \SimpleXMLElement
*/
public function asSimplexml();
/**
* Retrieve already merged layout updates from files for specified area/theme/package/store
*
* @return \Magento\Framework\View\Layout\Element
*/
public function getFileLayoutUpdatesXml();
/**
* Retrieve containers from the update handles that have been already loaded
*
* Result format:
* array(
* 'container_name' => 'Container Label',
* // ...
* )
*
* @return array
*/
public function getContainers();
/**
* Return cache ID based current area/package/theme/store, handles and cache key(s)
*
* @return string
*/
public function getCacheId();
}
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\View\Layout;
/**
* Interface ProcessorInterface
*/
interface ProcessorInterface
{
/**
* Add XML update instruction
*
* @param string $update
* @return ProcessorInterface
*/
public function addUpdate($update);
/**
* Get all registered updates as array
*
* @return array
*/
public function asArray();
/**
* Get all registered updates as string
*
* @return string
*/
public function asString();
/**
* Add handle(s) to update
*
* @param string|string[] $handleName
* @return ProcessorInterface
*/
public function addHandle($handleName);
/**
* Remove handle from update
*
* @param string $handleName
* @return ProcessorInterface
*/
public function removeHandle($handleName);
/**
* Get handle names array
*
* @return array
*/
public function getHandles();
/**
* Add page handles
*
* Add the first existing (declared in layout updates) page handle along with all parents to the update.
* Return whether any page handles have been added or not.
*
* @param array $handlesToTry
* @return bool
*/
public function addPageHandles(array $handlesToTry);
/**
* Retrieve all design abstractions that exist in the system.
*
* @return array
*/
public function getAllDesignAbstractions();
/**
* Check page_layout design abstractions that exist in the system
*
* @param array $abstraction
* @return bool
*/
public function isPageLayoutDesignAbstraction(array $abstraction);
/**
* Check custom design abstractions that exist in the system
*
* @param array $abstraction
* @return bool
*/
public function isCustomerDesignAbstraction(array $abstraction);
/**
* Load layout updates by handles
*
* @param array|string $handles
* @throws \Magento\Framework\Exception\LocalizedException
* @return ProcessorInterface
*/
public function load($handles = []);
/**
* Get layout updates as \Magento\Framework\View\Layout\Element object
*
* @return \SimpleXMLElement
*/
public function asSimplexml();
/**
* Retrieve already merged layout updates from files for specified area/theme/package/store
*
* @return \Magento\Framework\View\Layout\Element
*/
public function getFileLayoutUpdatesXml();
/**
* Retrieve containers from the update handles that have been already loaded
*
* Result format:
* array(
* 'container_name' => 'Container Label',
* // ...
* )
*
* @return array
*/
public function getContainers();
/**
* Return cache ID based current area/package/theme/store, handles and cache key(s)
*
* @return string
*/
public function getCacheId();
}