static function LastAreaModLog(Area $area, Interfaces\IContainerReferenceResolver $resolver)
    {
        $lastLog = $this->LastAreaLog($area);
        $areaContents = LayoutContent::Schema()->FetchByArea(false, $area);
        foreach ($areaContents as $areaContent)
        {
            $content = $areaContent->GetContent();
            $contentLog = self::LastContentModLog($content, $resolver);
            if (self::IsAfter($contentLog, $lastLog))
            {
                $lastLog = $contentLog;
            }
        }
        return $lastLog;
    }
static function LastAreaModLog(Area $area, Interfaces\IContainerReferenceResolver $resolver)
    {
        $lastLog = $this->LastAreaLog($area);
        $areaContents = LayoutContent::Schema()->FetchByArea(false, $area);
        foreach ($areaContents as $areaContent)
        {
            $content = $areaContent->GetContent();
            $contentLog = self::LastContentModLog($content, $resolver);
            if (self::IsAfter($contentLog, $lastLog))
            {
                $lastLog = $contentLog;
            }
        }
        return $lastLog;
    }
static function LastAreaModLog ( Area $ area , Interfaces \ IContainerReferenceResolver $ resolver ) { $ lastLog = $ this -> LastAreaLog ( $ area ) ; $ areaContents = LayoutContent :: Schema ( ) -> FetchByArea ( false , $ area ) ; foreach ( $ areaContents as $ areaContent ) { $ content = $ areaContent -> GetContent ( ) ; $ contentLog = self :: LastContentModLog ( $ content , $ resolver ) ; if ( self :: IsAfter ( $ contentLog , $ lastLog ) ) { $ lastLog = $ contentLog ; } } return $ lastLog ; }
Gets the last area modification log item
@param Area $area The area
@return LogItem Returns the last log item that changed anything related to the area
Gets the last area modification log item