src/Services/CommandFactory.php
private function isCacheUpToDate()
    {
        if (!file_exists($this->cachedFile)) {
            return false;
        }

        $cacheTime = filemtime($this->cachedFile);
        $mTime     = $this->modificationTime();

        return $cacheTime == $mTime;
    }
private function isCacheUpToDate()
    {
        if (!file_exists($this->cachedFile)) {
            return false;
        }

        $cacheTime = filemtime($this->cachedFile);
        $mTime     = $this->modificationTime();

        return $cacheTime == $mTime;
    }
private function isCacheUpToDate ( ) { if ( ! file_exists ( $ this -> cachedFile ) ) { return false ; } $ cacheTime = filemtime ( $ this -> cachedFile ) ; $ mTime = $ this -> modificationTime ( ) ; return $ cacheTime == $ mTime ; }
Determine if the cached file is up to date with the command folder.

@return bool
Determine if the cached file is up to date with the command folder .