Watching::get PHP Method

get() private method

private get ( $userid, $imdbId )
    private function get($userid, $imdbId)
    {
        $sth = $this->db->prepare("SELECT * FROM bevaka WHERE userid = ? AND imdbid = ?");
        $sth->bindParam(1, $userid, PDO::PARAM_INT);
        $sth->bindParam(2, $imdbId, PDO::PARAM_INT);
        $sth->execute();
        return $sth->fetch();
    }