Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 554 Bytes
<?php
namespace Oro\Component\Layout;
/**
* All objects you want to add to the layout context must implement this interface.
*/
interface ContextItemInterface
{
/**
* Returns a string representation of the object.
* This string is used as a part of the key for the layout profiler.
*
* @return string
*/
public function toString();
/**
* Return a hash of the object.
* This string is used as a part of the key for the layout cache.
*
* @return string
*/
public function getHash();
}
You can’t perform that action at this time.