private function getCacheExpiry(CacheableCommand $command)
    {
        if ($command instanceof HasCacheOptions && $command->getCacheExpiry() > 0) {
            return $command->getCacheExpiry();
        }

        return $this->expiresAfter;
    }
private function getCacheExpiry(CacheableCommand $command)
    {
        if ($command instanceof HasCacheOptions && $command->getCacheExpiry() > 0) {
            return $command->getCacheExpiry();
        }

        return $this->expiresAfter;
    }
private function getCacheExpiry ( CacheableCommand $ command ) { if ( $ command instanceof HasCacheOptions && $ command -> getCacheExpiry ( ) > 0 ) { return $ command -> getCacheExpiry ( ) ; } return $ this -> expiresAfter ; }
Determine when this CachableCommand should expire, in terms of seconds from now.

@param CacheableCommand $command
@return int
Determine when this CachableCommand should expire in terms of seconds from now .