Codeception\Module\WPDb::haveSiteTransientInDatabase PHP Method

haveSiteTransientInDatabase() public method

If the value is an array or an object then the value will be serialized.
public haveSiteTransientInDatabase ( $key, $value )
$key
$value
    public function haveSiteTransientInDatabase($key, $value)
    {
        $currentBlogId = $this->blogId;
        $this->useMainBlog();
        $option_id = $this->haveOptionInDatabase('_site_transient_' . $key, $value);
        $this->useBlog($currentBlogId);
        return $option_id;
    }
WPDb