src/Menu/MenuRepository.php
public function writeCache()
    {
        list($layout, $index) = $this->interpretMenuData();

        $this->getFileSystem()->put(
            $this->getCachePath(),
            $this->serializedInformationForCache($layout, $index)
        );

        return $this;
    }
public function writeCache()
    {
        list($layout, $index) = $this->interpretMenuData();

        $this->getFileSystem()->put(
            $this->getCachePath(),
            $this->serializedInformationForCache($layout, $index)
        );

        return $this;
    }
public function writeCache ( ) { list ( $ layout , $ index ) = $ this -> interpretMenuData ( ) ; $ this -> getFileSystem ( ) -> put ( $ this -> getCachePath ( ) , $ this -> serializedInformationForCache ( $ layout , $ index ) ) ; return $ this ; }
Writes menu data cache.

@return $this
Writes menu data cache .