core/oxpspaymorrowresourcecache.php
protected function _expired( $sFilePath )
    {
        return (
            !is_file( $sFilePath ) or
            ( filemtime( $sFilePath ) - 1000 <= strtotime( sprintf( 'now - %d second', $this->getCacheTtl() ) ) )
        );
    }
protected function _expired( $sFilePath )
    {
        return (
            !is_file( $sFilePath ) or
            ( filemtime( $sFilePath ) - 1000 <= strtotime( sprintf( 'now - %d second', $this->getCacheTtl() ) ) )
        );
    }
protected function _expired ( $ sFilePath ) { return ( ! is_file ( $ sFilePath ) or ( filemtime ( $ sFilePath ) - 1000 <= strtotime ( sprintf ( 'now - %d second' , $ this -> getCacheTtl ( ) ) ) ) ) ; }
Check if file exists and was created not too long ago.

@param string $sFilePath

@return bool False if file is missing or is too old/expired, True otherwise.
Check if file exists and was created not too long ago .