FOF30\Model\Model::getHash PHP Method

getHash() public method

Returns a unique hash for each view, used to prefix the state variables to allow us to retrieve them from the state later on.
public getHash ( ) : string
return string
    public function getHash()
    {
        static $hash = null;
        if (is_null($hash)) {
            $hash = ucfirst($this->container->componentName) . '.' . $this->getName() . '.';
        }
        return $hash;
    }